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>
96 const CloudFunctionObjectList& cfol
99 PtrList<CloudFunctionObject<
CloudType>>(cfol),
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);
DSMCCloud< dsmcParcel > CloudType
patchWriters resize(patchIds.size())
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void postFace(const parcelType &p, bool &keepParticle)
Post-face hook.
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
CloudFunctionObjectList(CloudType &owner)
Null constructor.
#define forAll(list, i)
Loop across all elements in list.
unsigned int count(const UList< bool > &bools, const bool val=true)
Count number of 'true' entries.
A class for handling words, derived from Foam::string.
virtual void postMove(parcelType &p, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
virtual void postEvolve(const typename parcelType::trackingData &td)
Post-evolve hook.
virtual void postPatch(const parcelType &p, const polyPatch &pp, bool &keepParticle)
Post-patch hook.
vector point
Point is a vector.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
messageStream Info
Information stream (stdout output on master, null elsewhere)
virtual void preEvolve(const typename parcelType::trackingData &td)
Pre-evolve hook.
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 base class for dsmc cloud.
Templated cloud function object base class.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())