31 template<
class CloudType>
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>
141 const point& position0,
147 this->operator[](i).postMove(
p, dt, position0, keepParticle);
152 template<
class CloudType>
161 this->operator[](i).postPatch(
p, pp);
166 template<
class CloudType>
174 this->operator[](i).preFace(
p);
179 template<
class CloudType>
187 this->operator[](i).postFace(
p);
#define forAll(list, i)
Loop across all elements in list.
List of cloud function objects.
virtual void postEvolve()
Post-evolve hook.
virtual void postMove(typename CloudType::parcelType &p, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
virtual void postFace(const typename CloudType::parcelType &p)
Post-face hook.
const dictionary & dict() const
Return the forces dictionary.
const CloudType & owner() const
Return const access to the cloud owner.
virtual void preEvolve()
Pre-evolve hook.
virtual void postPatch(const typename CloudType::parcelType &p, const polyPatch &pp)
Post-patch hook.
virtual ~CloudFunctionObjectList()
Destructor.
CloudFunctionObjectList(CloudType &owner)
Null constructor.
virtual void preFace(const typename CloudType::parcelType &p)
Pre-face hook.
Templated cloud function object base class.
Templated base class for dsmc cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
void size(const label)
Override size to be inconsistent with allocated storage.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
bool set(const label) const
Is element set.
void setSize(const label)
Reset size of PtrList. If extending the PtrList, new entries are.
A list of keyword definitions, which are a keyword followed by any number of values (e....
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
wordList toc() const
Return the table of contents.
A patch is a list of labels that address the faces in the global face list.
A class for handling words, derived from string.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const HashSet< word > &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the specified type.