unmappedPassivePositionParticleCloud Class Reference

passivePositionParticleCloud but with autoMap and writing disabled. Only used for its objectRegistry to store lagrangian fields More...

Inheritance diagram for unmappedPassivePositionParticleCloud:
[legend]
Collaboration diagram for unmappedPassivePositionParticleCloud:
[legend]

Public Member Functions

 unmappedPassivePositionParticleCloud (const polyMesh &mesh, const word &cloudName=cloud::defaultName, bool readFields=true)
 Construct given mesh. More...
 
 unmappedPassivePositionParticleCloud (const polyMesh &mesh, const word &cloudName, const IDLList< passivePositionParticle > &particles)
 Construct from mesh, cloud name, and a list of particles. More...
 
virtual ~unmappedPassivePositionParticleCloud ()=default
 Destructor. More...
 
virtual void autoMap (const mapPolyMesh &)
 Switch off remapping of cells of particles when. More...
 
virtual bool writeObject (IOstreamOption, const bool valid) const
 Disable writing objects. More...
 
- Public Member Functions inherited from passivePositionParticleCloud
 passivePositionParticleCloud (const polyMesh &mesh, const word &cloudName=cloud::defaultName, bool readFields=true)
 Construct given mesh. More...
 
 passivePositionParticleCloud (const polyMesh &mesh, const word &cloudName, const IDLList< passivePositionParticle > &particles)
 Construct from mesh, cloud name, and a list of particles. More...
 
- Public Member Functions inherited from Cloud< passivePositionParticle >
 TypeName ("Cloud")
 Runtime type information. More...
 
 Cloud (const polyMesh &mesh, const word &cloudName, const IDLList< passivePositionParticle > &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 (passivePositionParticle *pPtr)
 Transfer particle to cloud. More...
 
void deleteParticle (passivePositionParticle &p)
 Remove particle from cloud and delete. More...
 
void deleteLostParticles ()
 Remove lost particles from cloud and delete. More...
 
void cloudReset (const Cloud< passivePositionParticle > &c)
 Reset the particles. More...
 
void move (TrackCloudType &cloud, typename passivePositionParticle ::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< passivePositionParticle > &c, const IOField< DataType > &data) const
 Check lagrangian data field. More...
 
void checkFieldFieldIOobject (const Cloud< passivePositionParticle > &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...
 
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< passivePositionParticle >
typedef passivePositionParticle particleType
 
typedef passivePositionParticle parcelType
 Parcels are just particles. More...
 
- Static Public Attributes inherited from Cloud< passivePositionParticle >
static word cloudPropertiesName
 Name of cloud properties dictionary. More...
 
- Protected Attributes inherited from Cloud< passivePositionParticle >
cloud::geometryType geometryType_
 Geometry type. More...
 

Detailed Description

passivePositionParticleCloud but with autoMap and writing disabled. Only used for its objectRegistry to store lagrangian fields

Source files

Definition at line 52 of file unmappedPassivePositionParticleCloud.H.

Constructor & Destructor Documentation

◆ unmappedPassivePositionParticleCloud() [1/2]

unmappedPassivePositionParticleCloud ( const polyMesh mesh,
const word cloudName = cloud::defaultName,
bool  readFields = true 
)
inlineexplicit

Construct given mesh.

Definition at line 63 of file unmappedPassivePositionParticleCloud.H.

◆ unmappedPassivePositionParticleCloud() [2/2]

unmappedPassivePositionParticleCloud ( const polyMesh mesh,
const word cloudName,
const IDLList< passivePositionParticle > &  particles 
)
inline

Construct from mesh, cloud name, and a list of particles.

Definition at line 74 of file unmappedPassivePositionParticleCloud.H.

◆ ~unmappedPassivePositionParticleCloud()

virtual ~unmappedPassivePositionParticleCloud ( )
virtualdefault

Destructor.

Member Function Documentation

◆ autoMap()

virtual void autoMap ( const mapPolyMesh )
inlinevirtual

Switch off remapping of cells of particles when.

mesh topology changes

Definition at line 92 of file unmappedPassivePositionParticleCloud.H.

◆ writeObject()

virtual bool writeObject ( IOstreamOption  ,
const bool  valid 
) const
inlinevirtual

Disable writing objects.

Reimplemented from Cloud< passivePositionParticle >.

Definition at line 96 of file unmappedPassivePositionParticleCloud.H.


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