Go to the documentation of this file.
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
PatchInteractionFields(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
A class for handling words, derived from Foam::string.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
TypeName("patchInteractionFields")
Runtime type information.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
const word & modelName() const
Return const access to the name of the sub-model.
Creates volume fields whose boundaries are used to store patch interaction statistics.
virtual void preEvolve(const typename parcelType::trackingData &td)
Pre-evolve hook.
static const Enum< resetMode > resetModeNames_
virtual void postPatch(const parcelType &p, const polyPatch &pp, bool &keepParticle)
Post-patch hook.
const dictionary & dict() const
Return const access to the cloud dictionary.
void reset()
Create|read|reset the fields.
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,...
void clearOrReset(autoPtr< volScalarField > &fieldPtr, const word &fieldName, const dimensionSet &dims) const
Helper function to clear or reset fields.
virtual ~PatchInteractionFields()=default
Destructor.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Templated cloud function object base class.
virtual void write()
Write post-processing info.
ParcelType parcelType
Type of parcel the cloud was instantiated for.