mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
construct cloud from components
This commit is contained in:
@ -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 * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::passiveParticleCloud::readFields()
|
void Foam::passiveParticleCloud::readFields()
|
||||||
|
|||||||
@ -63,6 +63,9 @@ class passiveParticleCloud
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
//- Type of parcel the cloud was instantiated for
|
||||||
|
typedef passiveParticle parcelType;
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct given mesh
|
//- Construct given mesh
|
||||||
@ -72,6 +75,14 @@ public:
|
|||||||
const word& cloudName = "defaultCloud"
|
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
|
// Member Functions
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user