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