Go to the documentation of this file.
31 template<
class CloudType>
39 dict_(dictionary::null)
43 template<
class CloudType>
59 Info<<
"Constructing cloud functions" <<
endl;
61 if (modelNames.
size() > 0)
67 const word& modelName = modelNames[i];
72 const word objectType(modelDict.
lookup(
"type"));
95 template<
class CloudType>
109 template<
class CloudType>
116 template<
class CloudType>
121 this->operator[](i).preEvolve();
126 template<
class CloudType>
131 this->operator[](i).postEvolve();
136 template<
class CloudType>
142 const point& position0,
148 this->operator[](i).postMove(
p, cellI, dt, position0, keepParticle);
158 template<
class CloudType>
163 const scalar trackFraction,
170 this->operator[](i).postPatch
187 template<
class CloudType>
197 this->operator[](i).postFace(
p, faceI, keepParticle);
points setSize(newPointi)
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void postPatch(const typename CloudType::parcelType &p, const polyPatch &pp, const scalar trackFraction, const tetIndices &tetIs, bool &keepParticle)
Post-patch hook.
const CloudType & owner_
Reference to the owner cloud.
This function object reads fields from the time directories and adds them to the mesh database for fu...
virtual void postFace(const typename CloudType::parcelType &p, const label faceI, bool &keepParticle)
Post-face hook.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A patch is a list of labels that address the faces in the global face list.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual void postMove(typename CloudType::parcelType &p, const label cellI, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
List of cloud function objects.
virtual void preEvolve()
Pre-evolve hook.
Storage and named access for the indices of a tet which is part of the decomposition of a cell.
virtual ~CloudFunctionObjectList()
Destructor.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Templated cloud function object base class.
const dictionary dict_
Dictionary.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
virtual void postEvolve()
Post-evolve hook.
void size(const label)
Override size to be inconsistent with allocated storage.
CloudFunctionObjectList(CloudType &owner)
Null constructor.