31 template<
class CloudType>
39 dict_(dictionary::null)
43 template<
class CloudType>
59 Info<<
"Constructing cloud functions" <<
endl;
61 if (modelNames.size() > 0)
63 this->
setSize(modelNames.size());
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);
wordList toc() const
Return the table of contents.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dictionary dict_
Dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void postEvolve()
Post-evolve hook.
virtual ~CloudFunctionObjectList()
Destructor.
CloudFunctionObjectList(CloudType &owner)
Null constructor.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
points setSize(newPointi)
virtual void preEvolve()
Pre-evolve hook.
A class for handling words, derived from string.
Storage and named access for the indices of a tet which is part of the decomposition of a cell...
virtual void postPatch(const typename CloudType::parcelType &p, const polyPatch &pp, const scalar trackFraction, const tetIndices &tetIs, bool &keepParticle)
Post-patch hook.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
List of cloud function objects.
A patch is a list of labels that address the faces in the global face list.
virtual void postFace(const typename CloudType::parcelType &p, const label facei, bool &keepParticle)
Post-face hook.
const CloudType & owner_
Reference to the owner cloud.
virtual void postMove(typename CloudType::parcelType &p, const label celli, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
Templated base class for dsmc cloud.