|
|
|
Cloud Class Template ReferenceInheritance diagram for Cloud:![]() ![]() Detailed Descriptiontemplate<class particleType>
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Types | |
| typedef IDLList< particleType >::iterator | iterator |
| typedef IDLList< particleType >::const_iterator | const_iterator |
Public Member Functions | |
| Cloud (const polyMesh &mesh, const IDLList< particleType > &particles) | |
| Construct from mesh and a list of particles. | |
| Cloud (const polyMesh &mesh) | |
| Construct from mesh by reading from file. | |
| const polyMesh & | pMesh () const |
| Return the polyMesh reference. | |
| bool | internalFace (const label facei) const |
| Is this global face an internal face? | |
| bool | boundaryFace (const label facei) const |
| Is this global face a boundary face? | |
| label | facePatch (const label facei) const |
| Which patch is this global face on. | |
| label | patchFace (const label patchi, const label facei) const |
| Which face of this patch is this global face. | |
| void | addParticle (particleType *pPtr) |
| Transfer particle to cloud. | |
| void | deleteParticle (particleType &) |
| Remove particle from cloud and delete. | |
| template<class TrackingData> | |
| void | move (TrackingData &td) |
| Move the particles. | |
| virtual void | autoMap (const mapPolyMesh &) |
| Remap the cells of particles corresponding to the. | |
| IOobject | fieldIOobject (const word &fieldName) const |
| Read and return a lagrangian data field. | |
| template<class Type> | |
| tmp< IOField< Type > > | readField (const word &fieldName) const |
| Read and return a lagrangian data field. | |
| void | readFields () |
| Read the field data for the cloud of particles. | |
| virtual bool | writeData (Ostream &) const |
| Pure virtual writaData function. | |
| virtual void | writeFields () const |
| Write the field data for the cloud of particles. | |
| virtual bool | writeObject (IOstream::streamFormat fmt, IOstream::versionNumber ver, IOstream::compressionType cmp) const |
| Write using given format, version and compression. | |
| template<> | |
| void | readFields () |
| template<> | |
| void | writeFields () const |
| template<> | |
| void | readFields () |
Friends | |
| class | particle |
| Ostream & | operator (Ostream &, const Cloud< particleType > &) |
| typedef IDLList<particleType>::const_iterator const_iterator |
Construct from mesh and a list of particles.
| const polyMesh& pMesh | ( | ) | const [inline] |
| bool internalFace | ( | const label | facei | ) | const [inline] |
Is this global face an internal face?
Definition at line 125 of file Cloud.H.
Referenced by Cloud< Foam::solidParticle >::internalFace().
Here is the caller graph for this function:

| bool boundaryFace | ( | const label | facei | ) | const [inline] |
| void addParticle | ( | particleType * | pPtr | ) |
Transfer particle to cloud.
| void deleteParticle | ( | particleType & | ) |
Remove particle from cloud and delete.
| void move | ( | TrackingData & | td | ) |
Move the particles.
passing the TrackingData to the track function
| virtual void autoMap | ( | const mapPolyMesh & | ) | [virtual] |
Read and return a lagrangian data field.
| void readFields | ( | ) |
Read the field data for the cloud of particles.
| virtual bool writeData | ( | Ostream & | ) | const [virtual] |
| virtual void writeFields | ( | ) | const [virtual] |
Write the field data for the cloud of particles.
| virtual bool writeObject | ( | IOstream::streamFormat | fmt, | |
| IOstream::versionNumber | ver, | |||
| IOstream::compressionType | cmp | |||
| ) | const [virtual] |
Write using given format, version and compression.
Only writes the cloud file if the Cloud isn't empty
Reimplemented from regIOobject.
| void readFields | ( | ) |
| void writeFields | ( | ) | const |
| void readFields | ( | ) |