93#ifndef Foam_ParticlePostProcessing_H
94#define Foam_ParticlePostProcessing_H
109template<
class CloudType>
123 cloudFunctionObjectTools::collector collector_;
126 scalar maxStoredParcels_;
135 List<DynamicList<scalar>> times_;
138 List<DynamicList<string>> data_;
144 void writeFileHeader(Ostream&
os)
const;
198 const typename parcelType::trackingData&
td
205 const typename parcelType::trackingData&
td
212 virtual void write();
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
Templated cloud function object base class.
CloudFunctionObject(CloudType &owner)
Construct null from owner.
const CloudType & owner() const
Return const access to the owner cloud.
ParticleType particleType
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Writes out various standard Lagrangian data elements of particles hitting on a given list of patches ...
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
TypeName("particlePostProcessing")
Runtime type information.
void operator=(const ParticlePostProcessing< CloudType > &)=delete
No copy assignment.
ParticlePostProcessing(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
virtual void write()
Write post-processing info.
virtual ~ParticlePostProcessing()=default
Destructor.
virtual bool postFace(const parcelType &p, const typename parcelType::trackingData &td)
Post-face hook.
virtual bool postPatch(const parcelType &p, const polyPatch &pp, const typename parcelType::trackingData &td)
Post-patch hook.
label maxStoredParcels() const noexcept
Return maximum number of parcels to store per surface.
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,...
Base class for writing single files from the function objects.
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.
OBJstream os(runTime.globalPath()/outputName)
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
DSMCCloud< dsmcParcel > CloudType
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.