construct cloud from components
This commit is contained in:
parent
4bf0ae136c
commit
18fef89f39
@ -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()
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user