Public Member Functions | Static Public Member Functions | List of all members
CloudFunctionObject< CloudType > Class Template Reference

Templated cloud function object base class. More...

Inheritance diagram for CloudFunctionObject< CloudType >:
Inheritance graph
[legend]
Collaboration diagram for CloudFunctionObject< CloudType >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("cloudFunctionObject")
 
 declareRunTimeSelectionTable (autoPtr, CloudFunctionObject, dictionary,(const dictionary &dict, CloudType &owner, const word &modelName),(dict, owner, modelName))
 
 CloudFunctionObject (CloudType &owner)
 
 CloudFunctionObject (const dictionary &dict, CloudType &owner, const word &objectType, const word &modelName)
 
 CloudFunctionObject (const CloudFunctionObject< CloudType > &ppm)
 
virtual autoPtr< CloudFunctionObject< CloudType > > clone () const
 
virtual ~CloudFunctionObject ()=default
 
virtual void preEvolve (const typename parcelType::trackingData &td)
 
virtual void postEvolve (const typename parcelType::trackingData &td)
 
virtual void postMove (parcelType &p, const scalar dt, const point &position0, bool &keepParticle)
 
virtual void postPatch (const parcelType &p, const polyPatch &pp, bool &keepParticle)
 
virtual void postFace (const parcelType &p, bool &keepParticle)
 
const fileNameoutputDir () const
 
fileName writeTimeDir () const
 
- Public Member Functions inherited from CloudSubModelBase< CloudType >
 CloudSubModelBase (CloudType &owner)
 
 CloudSubModelBase (CloudType &owner, const dictionary &dict, const word &baseName, const word &modelType, const word &dictExt="Coeffs")
 
 CloudSubModelBase (const word &modelName, CloudType &owner, const dictionary &dict, const word &baseName, const word &modelType)
 
 CloudSubModelBase (const CloudSubModelBase< CloudType > &smb)
 
virtual ~CloudSubModelBase ()
 
const CloudTypeowner () const
 
virtual bool writeTime () const
 
virtual fileName localPath () const
 
CloudTypeowner ()
 
virtual void write (Ostream &os) const
 
- Public Member Functions inherited from subModelBase
 subModelBase (dictionary &properties)
 
 subModelBase (dictionary &properties, const dictionary &dict, const word &baseName, const word &modelType, const word &dictExt="Coeffs")
 
 subModelBase (const word &modelName, dictionary &properties, const dictionary &dict, const word &baseName, const word &modelType)
 
 subModelBase (const subModelBase &smb)
 
virtual ~subModelBase ()
 
const wordmodelName () const
 
const dictionarydict () const
 
const wordbaseName () const
 
const wordmodelType () const
 
const dictionarycoeffDict () const
 
const dictionaryproperties () const
 
virtual bool defaultCoeffs (const bool printMsg) const
 
virtual bool active () const
 
virtual void cacheFields (const bool store)
 
template<class Type >
Type getBaseProperty (const word &entryName, const Type &defaultValue=Type(Zero)) const
 
template<class Type >
void getBaseProperty (const word &entryName, Type &value) const
 
template<class Type >
void setBaseProperty (const word &entryName, const Type &value)
 
bool getModelDict (const word &entryName, dictionary &dict) const
 
template<class Type >
void getModelProperty (const word &entryName, Type &value) const
 
template<class Type >
Type getModelProperty (const word &entryName, const Type &defaultValue=Type(Zero)) const
 
template<class Type >
void setModelProperty (const word &entryName, const Type &value)
 

Static Public Member Functions

static autoPtr< CloudFunctionObject< CloudType > > New (const dictionary &dict, CloudType &owner, const word &objectType, const word &modelName)
 

Additional Inherited Members

- Public Types inherited from CloudSubModelBase< CloudType >
typedef CloudType cloudType
 
- Protected Member Functions inherited from subModelBase
bool inLine () const
 
- Protected Attributes inherited from CloudSubModelBase< CloudType >
CloudTypeowner_
 
- Protected Attributes inherited from subModelBase
const word modelName_
 
dictionaryproperties_
 
const dictionary dict_
 
const word baseName_
 
const word modelType_
 
const dictionary coeffDict_
 

Detailed Description

template<class CloudType>
class Foam::CloudFunctionObject< CloudType >

Templated cloud function object base class.

Source files

Definition at line 58 of file CloudFunctionObject.H.

Constructor & Destructor Documentation

◆ CloudFunctionObject() [1/3]

Definition at line 37 of file CloudFunctionObject.C.

◆ CloudFunctionObject() [2/3]

CloudFunctionObject ( const dictionary dict,
CloudType owner,
const word objectType,
const word modelName 
)

Definition at line 46 of file CloudFunctionObject.C.

References TimePaths::globalPath(), DSMCCloud< ParcelType >::mesh(), functionObject::outputPrefix, and fvMesh::time().

Here is the call graph for this function:

◆ CloudFunctionObject() [3/3]

Definition at line 72 of file CloudFunctionObject.C.

◆ ~CloudFunctionObject()

virtual ~CloudFunctionObject ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "cloudFunctionObject"  )

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
CloudFunctionObject< CloudType ,
dictionary  ,
(const dictionary &dict, CloudType &owner, const word &modelName ,
(dict, owner, modelName  
)

◆ clone()

virtual autoPtr<CloudFunctionObject<CloudType> > clone ( ) const
inlinevirtual

◆ New()

Foam::autoPtr< Foam::CloudFunctionObject< CloudType > > New ( const dictionary dict,
CloudType owner,
const word objectType,
const word modelName 
)
static

Definition at line 29 of file CloudFunctionObjectNew.C.

References Foam::abort(), dict, Foam::endl(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::Info.

Here is the call graph for this function:

◆ preEvolve()

void preEvolve ( const typename parcelType::trackingData &  td)
virtual

◆ postEvolve()

void postEvolve ( const typename parcelType::trackingData &  td)
virtual

◆ postMove()

void postMove ( parcelType &  p,
const scalar  dt,
const point position0,
bool keepParticle 
)
virtual

◆ postPatch()

void postPatch ( const parcelType &  p,
const polyPatch pp,
bool keepParticle 
)
virtual

◆ postFace()

void postFace ( const parcelType &  p,
bool keepParticle 
)
virtual

◆ outputDir()

const Foam::fileName & outputDir

Definition at line 135 of file CloudFunctionObject.C.

◆ writeTimeDir()

Foam::fileName writeTimeDir

Definition at line 142 of file CloudFunctionObject.C.


The documentation for this class was generated from the following files: