31 template<
class CloudType>
43 template<
class CloudType>
58 Info<<
"Constructing cloud functions" <<
endl;
60 if (modelNames.
size() > 0)
66 const word& modelName = modelNames[i];
93 Info<<
"Not constructing cloud functions" <<
endl;
98 template<
class CloudType>
112 template<
class CloudType>
119 template<
class CloudType>
124 this->operator[](i).preEvolve();
129 template<
class CloudType>
134 this->operator[](i).postEvolve();
139 template<
class CloudType>
144 const point& position0,
150 this->operator[](i).postMove(
p, dt, position0, keepParticle);
155 template<
class CloudType>
164 this->operator[](i).postPatch(
p, pp);
169 template<
class CloudType>
177 this->operator[](i).preFace(
p);
182 template<
class CloudType>
190 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.
static bool postProcess
Global post-processing mode switch.
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.