31 template<
class CloudType>
39 dict_(dictionary::null)
43 template<
class CloudType>
59 Info<<
"Constructing cloud functions" <<
endl;
61 if (modelNames.size() > 0)
63 this->
setSize(modelNames.size());
67 const word& modelName = modelNames[i];
72 const word objectType(modelDict.lookup(
"type"));
95 template<
class CloudType>
109 template<
class CloudType>
116 template<
class CloudType>
121 this->operator[](i).preEvolve();
126 template<
class CloudType>
131 this->operator[](i).postEvolve();
136 template<
class CloudType>
141 const point& position0,
152 this->operator[](i).postMove(p, dt, position0, keepParticle);
157 template<
class CloudType>
172 this->operator[](i).postPatch(p, pp, keepParticle);
177 template<
class CloudType>
191 this->operator[](i).postFace(p, keepParticle);
virtual void postPatch(const typename CloudType::parcelType &p, const polyPatch &pp, bool &keepParticle)
Post-patch hook.
#define forAll(list, i)
Loop across all elements in list.
const dictionary dict_
Dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void postEvolve()
Post-evolve hook.
virtual ~CloudFunctionObjectList()
Destructor.
wordList toc() const
Return the table of contents.
CloudFunctionObjectList(CloudType &owner)
Null constructor.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
points setSize(newPointi)
virtual void postFace(const typename CloudType::parcelType &p, bool &keepParticle)
Post-face hook.
virtual void preEvolve()
Pre-evolve hook.
autoPtr< BasicCompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleMomentumTransportModel::transportModel &transport)
A class for handling words, derived from string.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
virtual void postMove(typename CloudType::parcelType &p, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
List of cloud function objects.
A patch is a list of labels that address the faces in the global face list.
const CloudType & owner_
Reference to the owner cloud.
Templated base class for dsmc cloud.