35 #ifndef PatchPostProcessing_H
36 #define PatchPostProcessing_H
49 template<
class CloudType>
59 scalar maxStoredParcels_;
74 label applyToPatch(
const label globalPatchi)
const;
Templated cloud function object base class.
const CloudType & owner() const
Return const access to the owner cloud.
Templated base class for dsmc cloud.
Standard post-processing.
const labelList & patchIndices() const
Return const mapping from local to global patch ids.
virtual void postPatch(const parcelType &p, const polyPatch &pp)
Post-patch hook.
PatchPostProcessing(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
label maxStoredParcels() const
Return maximum number of parcels to store per patch.
virtual ~PatchPostProcessing()
Destructor.
void write()
Write post-processing info.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
TypeName("patchPostProcessing")
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....
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 class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.