A Cloud of passive particles. More...
Public Member Functions | |
passiveParticleCloud (const polyMesh &, const word &cloudName="defaultCloud", bool readFields=true) | |
Construct given mesh. More... | |
passiveParticleCloud (const polyMesh &mesh, const word &cloudName, const IDLList< passiveParticle > &particles) | |
Construct from mesh, cloud name, and a list of particles. More... | |
![]() | |
TypeName ("Cloud") | |
Runtime type information. More... | |
Cloud (const polyMesh &mesh, const IDLList< ParticleType > &particles) | |
Construct from mesh and a list of particles. More... | |
Cloud (const polyMesh &mesh, const word &cloudName, const IDLList< ParticleType > &particles) | |
Construct from mesh, cloud name, and a list of particles. More... | |
Cloud (const polyMesh &mesh, const bool checkClass=true) | |
Construct from mesh by reading from file. 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... | |
label | size () const |
DynamicList< label > & | labels () |
label | nTrackingRescues () const |
Return nTrackingRescues. More... | |
void | trackingRescue () const |
Increment the nTrackingRescues counter. More... | |
const PackedBoolList & | cellHasWallFaces () const |
Whether each cell has any wall faces (demand driven data) More... | |
virtual bool | hasWallImpactDistance () const |
Switch to specify if particles of the cloud can return. More... | |
const const_iterator | begin () const |
iterator | begin () |
const const_iterator | cbegin () const |
const const_iterator | end () const |
iterator | end () |
const const_iterator | cend () const |
void | clear () |
void | addParticle (ParticleType *pPtr) |
Transfer particle to cloud. More... | |
void | deleteParticle (ParticleType &) |
Remove particle from cloud and delete. More... | |
void | cloudReset (const Cloud< ParticleType > &c) |
Reset the particles. More... | |
void | move (TrackData &td, const scalar trackTime) |
Move the particles. More... | |
void | autoMap (TrackData &td, 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< ParticleType > &c, const IOField< DataType > &data) const |
Check lagrangian data field. More... | |
void | checkFieldFieldIOobject (const Cloud< ParticleType > &c, const CompactIOField< Field< DataType >, DataType > &data) const |
Check lagrangian data fieldfield. More... | |
virtual void | readFields () |
Read the field data for the cloud of particles. Dummy at. More... | |
virtual void | writeFields () const |
Write the field data for the cloud of particles Dummy at. More... | |
virtual bool | writeObject (IOstream::streamFormat fmt, IOstream::versionNumber ver, IOstream::compressionType cmp) const |
Write using given format, version and compression. More... | |
void | writePositions () const |
Write positions to <cloudName>_positions.obj file. More... | |
Private Member Functions | |
passiveParticleCloud (const passiveParticleCloud &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const passiveParticleCloud &) |
Disallow default bitwise assignment. More... | |
Additional Inherited Members | |
![]() | |
typedef ParticleType | particleType |
typedef IDLList< ParticleType >::iterator | iterator |
typedef IDLList< ParticleType >::const_iterator | const_iterator |
![]() | |
static word | cloudPropertiesName |
Name of cloud properties dictionary. More... | |
|
private |
Disallow default bitwise copy construct.
passiveParticleCloud | ( | const polyMesh & | mesh, |
const word & | cloudName = "defaultCloud" , |
||
bool | readFields = true |
||
) |
Construct given mesh.
Definition at line 38 of file passiveParticleCloud.C.
References readFields().
passiveParticleCloud | ( | const polyMesh & | mesh, |
const word & | cloudName, | ||
const IDLList< passiveParticle > & | particles | ||
) |
Construct from mesh, cloud name, and a list of particles.
Definition at line 54 of file passiveParticleCloud.C.
|
private |
Disallow default bitwise assignment.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.