diff --git a/src/lagrangian/basic/passiveParticle/passiveParticleCloud.C b/src/lagrangian/basic/passiveParticle/passiveParticleCloud.C index 18844ffcea9d845c8cbd16c9642ed3a5fd310a15..ebb67d26de9f9b4f31bd0aa010108d3d4bfc30d9 100644 --- a/src/lagrangian/basic/passiveParticle/passiveParticleCloud.C +++ b/src/lagrangian/basic/passiveParticle/passiveParticleCloud.C @@ -52,6 +52,17 @@ Foam::passiveParticleCloud::passiveParticleCloud } +Foam::passiveParticleCloud::passiveParticleCloud +( + const polyMesh& mesh, + const word& cloudName, + const IDLList<passiveParticle>& particles +) +: + Cloud<passiveParticle>(mesh, cloudName, particles) +{} + + // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // void Foam::passiveParticleCloud::readFields() diff --git a/src/lagrangian/basic/passiveParticle/passiveParticleCloud.H b/src/lagrangian/basic/passiveParticle/passiveParticleCloud.H index b8faac8f439c9bd4754b2c7d5c8189dba7f70268..e3c0266fa3b922157d7ac9605bac8d31e7b3cba0 100644 --- a/src/lagrangian/basic/passiveParticle/passiveParticleCloud.H +++ b/src/lagrangian/basic/passiveParticle/passiveParticleCloud.H @@ -63,6 +63,9 @@ class passiveParticleCloud public: + //- Type of parcel the cloud was instantiated for + typedef passiveParticle parcelType; + // Constructors //- Construct given mesh @@ -72,6 +75,14 @@ public: const word& cloudName = "defaultCloud" ); + //- Construct from mesh, cloud name, and a list of particles + passiveParticleCloud + ( + const polyMesh& mesh, + const word& cloudName, + const IDLList<passiveParticle>& particles + ); + // Member Functions