77 #ifndef ParticleErosion_H
78 #define ParticleErosion_H
92 template<
class CloudType>
95 public CloudFunctionObject<CloudType>
106 autoPtr<volScalarField> QPtr_;
129 virtual void write();
173 virtual void preFace(
const parcelType&
p);
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.
Function object to create a field of eroded volume, Q, on a specified list of patches....
virtual ~ParticleErosion()
Destructor.
virtual void preFace(const parcelType &p)
Pre-face hook.
label applyToPatch(const label globalPatchi) const
Returns local patchi if patch is in patchIds_ list.
virtual void write()
Write post-processing info.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
virtual void preEvolve()
Pre-evolve hook.
ParticleErosion(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
TypeName("particleErosion")
Runtime type information.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
const dictionary & dict() const
Return const access to the cloud dictionary.
const word & modelName() const
Return const access to the name of the sub-model.
A class for handling words, derived from string.
List< label > labelList
A List of labels.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.