ENH: simplify construction of zero-sized Clouds

- use Foam::zero as a dispatch tag

FIX: return moleculeCloud::constProps() List by reference not copy

STYLE: range-for when iterating cloud parcels

STYLE: more consistent typedefs / declarations for Clouds
This commit is contained in:
Mark Olesen
2023-12-13 11:07:13 +01:00
parent 0352a224b7
commit c9a9309b8c
46 changed files with 377 additions and 502 deletions

View File

@ -129,6 +129,7 @@ void mapLagrangian(const meshToMesh& interp)
cloudDir,
false
);
Info<< " read " << sourceParcels.size()
<< " parcels from source mesh." << endl;
@ -136,8 +137,8 @@ void mapLagrangian(const meshToMesh& interp)
passiveParticleCloud targetParcels
(
meshTarget,
cloudDir,
IDLList<passiveParticle>()
Foam::zero{},
cloudDir
);
passiveParticle::trackingData td(targetParcels);