31 template<
class CloudType>
40 template<
class CloudType>
48 template<
class CloudType>
53 const word& modelName,
54 const word& objectType
70 template<
class CloudType>
77 outputDir_(ppm.outputDir_)
83 template<
class CloudType>
90 template<
class CloudType>
95 template<
class CloudType>
98 if (this->owner().time().writeTime())
105 template<
class CloudType>
116 template<
class CloudType>
125 template<
class CloudType>
133 template<
class CloudType>
141 template<
class CloudType>
148 template<
class CloudType>
151 return outputDir_/this->owner().time().
name();
Templated cloud function object base class.
virtual void postEvolve()
Post-evolve hook.
fileName writeTimeDir() const
Return the output time path.
virtual void postMove(typename CloudType::parcelType &p, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
CloudFunctionObject(CloudType &owner)
Construct null from owner.
virtual ~CloudFunctionObject()
Destructor.
const fileName & outputDir() const
Return the output path.
virtual void postFace(const typename CloudType::parcelType &p)
Post-face hook.
virtual void preEvolve()
Pre-evolve hook.
virtual void postPatch(const typename CloudType::parcelType &p, const polyPatch &pp)
Post-patch hook.
virtual void preFace(const typename CloudType::parcelType &p)
Pre-face hook.
Base class for cloud sub-models.
const CloudType & owner() const
Return const access to the owner cloud.
Templated base class for dsmc cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
const fvMesh & mesh() const
Return references to the mesh.
const word & name() const
Return name.
fileName globalPath() const
Return the global path.
static const word prefix
The prefix to local: lagrangian.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling file names.
word name() const
Return file name (part beyond last /)
static const word outputPrefix
Directory prefix.
const Time & time() const
Return the top-level database.
A patch is a list of labels that address the faces in the global face list.
const word & modelName() const
Return const access to the name of the sub-model.
A class for handling words, derived from string.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.