60 #ifndef PatchInteractionFields_H 61 #define PatchInteractionFields_H 76 template<
class CloudType>
121 virtual void write();
127 const word& fieldName,
172 const typename parcelType::trackingData& td
virtual ~PatchInteractionFields()=default
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
void clearOrReset(autoPtr< volScalarField > &fieldPtr, const word &fieldName, const dimensionSet &dims) const
Helper function to clear or reset fields.
const word & modelName() const
Return const access to the name of the sub-model.
static const Enum< resetMode > resetModeNames_
const dictionary & dict() const
Return const access to the cloud dictionary.
PatchInteractionFields(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
const CloudType & owner() const
Return const access to the owner cloud.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
virtual void postPatch(const parcelType &p, const polyPatch &pp, bool &keepParticle)
Post-patch hook.
Creates volume fields whose boundaries are used to store patch interaction statistics.
A class for handling words, derived from Foam::string.
TypeName("patchInteractionFields")
Runtime type information.
virtual void write()
Write post-processing info.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
virtual void preEvolve(const typename parcelType::trackingData &td)
Pre-evolve hook.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
void reset()
Create|read|reset the fields.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A patch is a list of labels that address the faces in the global face list.
Templated base class for dsmc cloud.
Templated cloud function object base class.