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 113 for (
auto& cfo : *
this)
120 template<
class CloudType>
123 const typename parcelType::trackingData&
td 126 for (
auto& cfo : *
this)
133 template<
class CloudType>
138 const point& position0,
139 const typename parcelType::trackingData&
td 142 if (!
td.keepParticle)
144 return td.keepParticle;
147 for (
auto& cfo : *
this)
149 if (!cfo.postMove(
p, dt, position0,
td))
159 template<
class CloudType>
164 const typename parcelType::trackingData&
td 167 if (!
td.keepParticle)
169 return td.keepParticle;
172 for (
auto& cfo : *
this)
174 if (!cfo.postPatch(
p,
pp,
td))
184 template<
class CloudType>
188 const typename parcelType::trackingData&
td 191 if (!
td.keepParticle)
193 return td.keepParticle;
196 for (
auto& cfo : *
this)
198 if (!cfo.postFace(
p,
td))
DSMCCloud< dsmcParcel > CloudType
patchWriters resize(patchIds.size())
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual bool postPatch(parcelType &p, const polyPatch &pp, const typename parcelType::trackingData &td)
Post-patch hook.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
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.
unsigned int count(const UList< bool > &bools, const bool val=true)
Count number of 'true' entries.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const NameMatchPredicate &selectedFields, DynamicList< regIOobject *> &storedObjects)
Read the selected GeometricFields of the templated type and store on the objectRegistry.
A class for handling words, derived from Foam::string.
virtual void postEvolve(const typename parcelType::trackingData &td)
Post-evolve hook.
virtual bool postFace(parcelType &p, const typename parcelType::trackingData &td)
Post-face 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.
A patch is a list of labels that address the faces in the global face list.
Templated base class for dsmc cloud.
Templated cloud function object base class.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
virtual bool postMove(parcelType &p, const scalar dt, const point &position0, const typename parcelType::trackingData &td)
Post-move hook.