41#ifndef PatchPostProcessing_H
42#define PatchPostProcessing_H
55template<
class CloudType>
65 scalar maxStoredParcels_;
86 label applyToPatch(
const label globalPatchi)
const;
Templated cloud function object base class.
const CloudType & owner() const
Return const access to the owner cloud.
ParticleType particleType
Templated base class for dsmc cloud.
Standard post-processing.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
label maxStoredParcels() const
Return maximum number of parcels to store per patch.
const labelList & patchIDs() const
Return const mapping from local to global patch ids.
virtual ~PatchPostProcessing()=default
Destructor.
virtual void postPatch(const parcelType &p, const polyPatch &pp, bool &keepParticle)
Post-patch hook.
void write()
Write post-processing info.
TypeName("patchPostProcessing")
Runtime type information.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A patch is a list of labels that address the faces in the global face list.
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 List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.