Go to the documentation of this file.
33 template<
class CloudType>
41 dict_(dictionary::null)
45 template<
class CloudType>
61 Info<<
"Constructing cloud functions" <<
endl;
63 if (modelNames.size() > 0)
65 this->
setSize(modelNames.size());
69 const word& modelName = modelNames[i];
80 modelDict.get<
word>(
"type"),
94 template<
class CloudType>
108 template<
class CloudType>
115 template<
class CloudType>
120 this->operator[](i).preEvolve();
125 template<
class CloudType>
130 this->operator[](i).postEvolve();
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);
points setSize(newPointi)
A class for handling words, derived from Foam::string.
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.
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.
virtual void preEvolve()
Pre-evolve hook.
virtual void postPatch(const typename CloudType::parcelType &p, const polyPatch &pp, bool &keepParticle)
Post-patch hook.
virtual ~CloudFunctionObjectList()
Destructor.
Templated cloud function object base class.
virtual void postFace(const typename CloudType::parcelType &p, bool &keepParticle)
Post-face hook.
const dictionary dict_
Dictionary.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
virtual void postEvolve()
Post-evolve hook.
virtual void postMove(typename CloudType::parcelType &p, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
CloudFunctionObjectList(CloudType &owner)
Null constructor.