Go to the documentation of this file.
34 template<
class CloudType>
46 template<
class CloudType>
60 Info<<
"Constructing cloud functions" <<
endl;
65 for (
const word& modelName :
dict.toc())
93 template<
class CloudType>
107 template<
class CloudType>
110 const typename parcelType::trackingData& td
115 this->operator[](i).preEvolve(td);
120 template<
class CloudType>
123 const typename parcelType::trackingData& td
128 this->operator[](i).postEvolve(td);
133 template<
class CloudType>
138 const point& position0,
149 this->operator[](i).postMove(
p, dt, position0, keepParticle);
154 template<
class CloudType>
169 this->operator[](i).postPatch(
p, pp, keepParticle);
174 template<
class CloudType>
188 this->operator[](i).postFace(
p, keepParticle);
virtual void postEvolve(const typename parcelType::trackingData &td)
Post-evolve hook.
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.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
#define forAll(list, i)
Loop across all elements in list.
patchWriters resize(patchIds.size())
messageStream Info
Information stream (stdout output on master, null elsewhere)
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.
unsigned int count(const UList< bool > &bools, const bool val=true)
Count number of 'true' entries.
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.