ENH: simplify construction of zero-sized Clouds
- use Foam::zero as a dispatch tag FIX: return moleculeCloud::constProps() List by reference not copy STYLE: more consistent typedefs / declarations for Clouds
This commit is contained in:
@ -142,12 +142,11 @@ void Foam::functionObjects::wallBoundedStreamLine::track()
|
||||
// Find nearest wall particle for the seedPoints
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
IDLList<wallBoundedStreamLineParticle> initialParticles;
|
||||
wallBoundedStreamLineParticleCloud particles
|
||||
(
|
||||
mesh_,
|
||||
cloudName_,
|
||||
initialParticles
|
||||
Foam::zero{},
|
||||
cloudName_
|
||||
);
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user