Go to the documentation of this file.
41 #ifndef CloudFunctionObject_H
42 #define CloudFunctionObject_H
61 template<
class CloudType>
111 const word& objectType,
137 const word& objectType,
157 const point& position0,
193 #define makeCloudFunctionObject(CloudType) \
195 typedef Foam::CloudType::kinematicCloudType kinematicCloudType; \
196 defineNamedTemplateTypeNameAndDebug \
198 Foam::CloudFunctionObject<kinematicCloudType>, \
203 defineTemplateRunTimeSelectionTable \
205 CloudFunctionObject<kinematicCloudType>, \
211 #define makeCloudFunctionObjectType(SS, CloudType) \
213 typedef Foam::CloudType::kinematicCloudType kinematicCloudType; \
214 defineNamedTemplateTypeNameAndDebug(Foam::SS<kinematicCloudType>, 0); \
216 Foam::CloudFunctionObject<kinematicCloudType>:: \
217 adddictionaryConstructorToTable<Foam::SS<kinematicCloudType>> \
218 add##SS##CloudType##kinematicCloudType##ConstructorToTable_;
A class for handling words, derived from Foam::string.
A class for handling file names.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
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.
Base class for cloud sub-models.
virtual ~CloudFunctionObject()
Destructor.
const word & modelName() const
Return const access to the name of the sub-model.
const dictionary & dict() const
Return const access to the cloud dictionary.
A patch is a list of labels that address the faces in the global face list.
const CloudType & owner() const
Return const access to the owner cloud.
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual void postEvolve()
Post-evolve hook.
static autoPtr< CloudFunctionObject< CloudType > > New(const dictionary &dict, CloudType &owner, const word &objectType, const word &modelName)
Selector.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Macros to ease declaration of run-time selection tables.
fileName writeTimeDir() const
Return the output time path.
Templated cloud function object base class.
virtual void postPatch(const typename CloudType::parcelType &p, const polyPatch &pp, bool &keepParticle)
Post-patch hook.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
TypeName("cloudFunctionObject")
Runtime type information.
virtual void preEvolve()
Pre-evolve hook.
declareRunTimeSelectionTable(autoPtr, CloudFunctionObject, dictionary,(const dictionary &dict, CloudType &owner, const word &modelName),(dict, owner, modelName))
Declare runtime constructor selection table.
const fileName & outputDir() const
Return the output path.
virtual void postFace(const typename CloudType::parcelType &p, bool &keepParticle)
Post-face hook.