Go to the documentation of this file.
34 template<
class CloudType>
42 dict_(dictionary::null)
46 template<
class CloudType>
62 Info<<
"Constructing cloud functions" <<
endl;
64 if (modelNames.size() > 0)
66 this->
setSize(modelNames.size());
70 const word& modelName = modelNames[i];
81 modelDict.get<
word>(
"type"),
95 template<
class CloudType>
109 template<
class CloudType>
112 const typename parcelType::trackingData& td
117 this->operator[](i).preEvolve(td);
122 template<
class CloudType>
125 const typename parcelType::trackingData& td
130 this->operator[](i).postEvolve(td);
135 template<
class CloudType>
140 const point& position0,
151 this->operator[](i).postMove(
p, dt, position0, keepParticle);
156 template<
class CloudType>
171 this->operator[](i).postPatch(
p, pp, keepParticle);
176 template<
class CloudType>
190 this->operator[](i).postFace(
p, keepParticle);
virtual void postEvolve(const typename parcelType::trackingData &td)
Post-evolve hook.
points setSize(newPointi)
void set(List< bool > &bools, const labelRange &range)
Set the specified range 'on' in a boolList.
A class for handling words, derived from Foam::string.
virtual void postPatch(const parcelType &p, const polyPatch &pp, bool &keepParticle)
Post-patch hook.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const CloudType & owner_
Reference to the owner cloud.
#define forAll(list, i)
Loop across all elements in list.
messageStream Info
Information stream (uses stdout - output is on the master only)
A patch is a list of labels that address the faces in the global face list.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Templated base class for dsmc cloud.
virtual void postFace(const parcelType &p, bool &keepParticle)
Post-face hook.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
List of cloud function objects.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type.
Templated cloud function object base class.
const dictionary dict_
Dictionary.
CloudFunctionObjectList(CloudType &owner)
Null constructor.
virtual void postMove(parcelType &p, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
virtual void preEvolve(const typename parcelType::trackingData &td)
Pre-evolve hook.