81#ifndef PatchParticleHistogram_H
82#define PatchParticleHistogram_H
95template<
class CloudType>
96class PatchParticleHistogram
98 public CloudFunctionObject<CloudType>
118 const scalar maxStoredParcels_;
128 List<List<scalar>> nParticlesCumulative_;
131 List<DynamicList<scalar>> times_;
134 List<DynamicList<scalar>> patchDiameters_;
137 List<DynamicList<scalar>> patchParticles_;
143 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.
Computes a histogram for the distribution of particle diameters and corresponding number of particles...
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
TypeName("patchParticleHistogram")
Runtime type information.
void operator=(const PatchParticleHistogram< CloudType > &)=delete
No copy assignment.
virtual void postPatch(const parcelType &p, const polyPatch &pp, bool &keepParticle)
Post-patch hook.
virtual ~PatchParticleHistogram()=default
Destructor.
void write()
Write post-processing info.
PatchParticleHistogram()=delete
No default construct.
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 class for handling words, derived from Foam::string.
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.