Public Member Functions | |
injectedParticleCloud (const polyMesh &mesh, const word &name, const bool readFields=true) | |
Construct from mesh and cloud name. More... | |
injectedParticleCloud (const injectedParticleCloud &c, const word &name) | |
Copy constructor with new name. More... | |
virtual autoPtr< injectedParticleCloud > | clone (const word &name) const |
Construct and return clone based on (this) with new name. More... | |
virtual | ~injectedParticleCloud () |
Destructor. More... | |
virtual void | readObjects (const objectRegistry &obr) |
Read particle fields as objects from the obr registry. More... | |
virtual void | writeObjects (objectRegistry &obr) const |
Write particle fields as objects into the obr registry. More... | |
Public Member Functions inherited from Cloud< injectedParticle > | |
TypeName ("Cloud") | |
Runtime type information. More... | |
Cloud (const polyMesh &mesh, const word &cloudName, const IDLList< injectedParticle > &particles) | |
Construct from mesh and a list of particles. More... | |
Cloud (const polyMesh &pMesh, const word &cloudName, const bool checkClass=true) | |
Construct from mesh by reading from file with given cloud instance. More... | |
const polyMesh & | pMesh () const |
Return the polyMesh reference. More... | |
virtual label | nParcels () const |
Return the number of particles in the cloud. More... | |
DynamicList< label > & | labels () const |
Return temporary addressing. More... | |
void | addParticle (injectedParticle *pPtr) |
Transfer particle to cloud. More... | |
void | deleteParticle (injectedParticle &p) |
Remove particle from cloud and delete. More... | |
void | deleteLostParticles () |
Remove lost particles from cloud and delete. More... | |
void | cloudReset (const Cloud< injectedParticle > &c) |
Reset the particles. More... | |
void | move (TrackCloudType &cloud, typename injectedParticle ::trackingData &td, const scalar trackTime) |
Move the particles. More... | |
void | autoMap (const mapPolyMesh &) |
Remap the cells of particles corresponding to the. More... | |
IOobject | fieldIOobject (const word &fieldName, const IOobject::readOption r) const |
Helper to construct IOobject for field and current time. More... | |
void | checkFieldIOobject (const Cloud< injectedParticle > &c, const IOField< DataType > &data) const |
Check lagrangian data field. More... | |
void | checkFieldFieldIOobject (const Cloud< injectedParticle > &c, const CompactIOField< Field< DataType >, DataType > &data) const |
Check lagrangian data fieldfield. More... | |
virtual void | writeFields () const |
Write the field data for the cloud of particles Dummy at. More... | |
virtual bool | writeObject (IOstreamOption streamOpt, const bool valid) const |
Write using stream options. More... | |
void | writePositions () const |
Write positions to <cloudName>_positions.obj file. More... | |
void | storeGlobalPositions () const |
Call this before a topology change. More... | |
Additional Inherited Members | |
Public Types inherited from Cloud< injectedParticle > | |
typedef injectedParticle | particleType |
typedef injectedParticle | parcelType |
Parcels are just particles. More... | |
Static Public Attributes inherited from Cloud< injectedParticle > | |
static word | cloudPropertiesName |
Name of cloud properties dictionary. More... | |
Protected Attributes inherited from Cloud< injectedParticle > | |
cloud::geometryType | geometryType_ |
Geometry type. More... | |
Definition at line 53 of file injectedParticleCloud.H.
injectedParticleCloud | ( | const polyMesh & | mesh, |
const word & | name, | ||
const bool | readFields = true |
||
) |
Construct from mesh and cloud name.
Definition at line 38 of file injectedParticleCloud.C.
References Foam::readFields().
injectedParticleCloud | ( | const injectedParticleCloud & | c, |
const word & | name | ||
) |
Copy constructor with new name.
Definition at line 56 of file injectedParticleCloud.C.
|
virtual |
Destructor.
Definition at line 67 of file injectedParticleCloud.C.
|
inlinevirtual |
Construct and return clone based on (this) with new name.
Definition at line 85 of file injectedParticleCloud.H.
References Foam::name().
|
virtual |
Read particle fields as objects from the obr registry.
Definition at line 73 of file injectedParticleCloud.C.
References injectedParticle::readObjects().
|
virtual |
Write particle fields as objects into the obr registry.
Definition at line 79 of file injectedParticleCloud.C.
References injectedParticle::writeObjects().