injectedParticleCloud Class Reference
Inheritance diagram for injectedParticleCloud:
[legend]
Collaboration diagram for injectedParticleCloud:
[legend]

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< injectedParticleCloudclone (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 polyMeshpMesh () 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...
 
bool readStoreFile (const IOobject &io, const IOobject &ioNew) const
 Helper function to store a cloud field on its registry. More...
 
void readFromFiles (objectRegistry &obr, const wordRes &selectFields) const
 Read from files into objectRegistry. 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...
 

Detailed Description

Constructor & Destructor Documentation

◆ injectedParticleCloud() [1/2]

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().

Here is the call graph for this function:

◆ injectedParticleCloud() [2/2]

injectedParticleCloud ( const injectedParticleCloud c,
const word name 
)

Copy constructor with new name.

Definition at line 56 of file injectedParticleCloud.C.

◆ ~injectedParticleCloud()

~injectedParticleCloud ( )
virtual

Destructor.

Definition at line 67 of file injectedParticleCloud.C.

Member Function Documentation

◆ clone()

virtual autoPtr<injectedParticleCloud> clone ( const word name) const
inlinevirtual

Construct and return clone based on (this) with new name.

Definition at line 85 of file injectedParticleCloud.H.

References Foam::name().

Here is the call graph for this function:

◆ readObjects()

void readObjects ( const objectRegistry obr)
virtual

Read particle fields as objects from the obr registry.

Definition at line 73 of file injectedParticleCloud.C.

References injectedParticle::readObjects().

Here is the call graph for this function:

◆ writeObjects()

void writeObjects ( objectRegistry obr) const
virtual

Write particle fields as objects into the obr registry.

Definition at line 79 of file injectedParticleCloud.C.

References injectedParticle::writeObjects().

Here is the call graph for this function:

The documentation for this class was generated from the following files: