52 template<
class ParticleType>
55 template<
class ParticleType>
58 template<
class ParticleType>
70 template<
class ParticleType>
98 void checkPatches()
const;
101 void initCloud(
const bool checkClass);
104 void readCloudUniformProperties();
107 void writeCloudUniformProperties()
const;
120 void storeRays()
const;
126 template<
class ParticleT>
157 const bool checkClass =
true 174 return patchNbrProc_;
181 return patchNbrProcPatch_;
187 return patchNonConformalCyclicPatches_;
199 const const_iterator
begin()
const 204 const const_iterator
cbegin()
const 209 const const_iterator
end()
const 214 const const_iterator
cend()
const 250 template<
class TrackCloudType>
253 TrackCloudType&
cloud,
254 typename ParticleType::trackingData& td,
255 const scalar trackTime
268 const word& fieldName,
273 template<
class DataType>
281 template<
class DataType>
302 const bool write =
true 315 friend Ostream& operator<< <ParticleType>
ParticleType particleType
Template class for intrusive linked lists.
const const_iterator & cend() const
void cloudReset(const Cloud< ParticleType > &c)
Reset the particles.
void deleteParticle(ParticleType &)
Remove particle from cloud and delete.
const labelList & patchNbrProcPatch() const
Map from patch index to the corresponding patch index on the.
const labelList & patchNbrProc() const
Map from patch index to the neighbouring processor index.
void checkFieldFieldIOobject(const Cloud< ParticleType > &c, const CompactIOField< Field< DataType >, DataType > &data) const
Check lagrangian data fieldfield.
virtual bool writeObject(IOstream::streamFormat fmt, IOstream::versionNumber ver, IOstream::compressionType cmp, const bool write=true) const
Write using given format, version and compression.
Cloud(const polyMesh &mesh, const word &cloudName, const IDLList< ParticleType > &particles)
Construct from mesh and a list of particles.
void autoMap(const polyTopoChangeMap &)
Remap the cells of particles corresponding to the.
label size() const
Return the number of particles in the cloud.
readOption
Enumeration defining the read options.
const const_iterator end() const
const dimensionedScalar c
Speed of light in a vacuum.
An STL-conforming const_iterator.
static word cloudPropertiesName
Name of cloud properties dictionary.
const const_iterator cbegin() const
IDLList< ParticleType >::iterator iterator
const_iterator cbegin() const
void addParticle(ParticleType *pPtr)
Transfer particle to cloud.
const labelListList & patchNonConformalCyclicPatches() const
Return map from patch index to connected non-conformal cyclics.
Pre-declare SubField and related Field type.
void storeGlobalPositions() const
Call this before a topology change. Stores the particles global.
Intrusive doubly-linked list.
A class for handling words, derived from string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
void clear()
Clear the contents of the list.
A cloud is a collection of lagrangian particles.
streamFormat
Enumeration for the format of data in the stream.
An STL-conforming iterator.
const const_iterator cend() const
Base cloud calls templated on particle type.
compressionType
Enumeration for the format of data in the stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Database for solution and other reduced data.
const const_iterator begin() const
void deleteLostParticles()
Remove lost particles from cloud and delete.
virtual void writeFields() const
Write the field data for the cloud of particles Dummy at.
IDLList< ParticleType >::const_iterator const_iterator
void move(TrackCloudType &cloud, typename ParticleType::trackingData &td, const scalar trackTime)
Move the particles.
A Field of objects of type <T> with automated input and output using a compact storage. Behaves like IOField except when binary output in case it writes a CompactListList.
void checkFieldIOobject(const Cloud< ParticleType > &c, const IOField< DataType > &data) const
Check lagrangian data field.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
const word cloudName(propsDict.lookup("cloudName"))
virtual bool write(const bool write=true) const
Write using setting from DB.
Helper IO class to read and write particle positions.
const polyMesh & pMesh() const
Return the polyMesh reference.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
IOobject fieldIOobject(const word &fieldName, const IOobject::readOption r) const
Helper to construct IOobject for field and current time.
A primitive field of type <T> with automated input and output.
void writePositions() const
Write positions to <cloudName>_positions.obj file.