48#ifndef PatchCollisionDensity_H
49#define PatchCollisionDensity_H
62template<
class CloudType>
72 const scalar minSpeed_;
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.
Function object which generates fields of the number and rate of collisions per unit area on all patc...
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
virtual void postPatch(const parcelType &p, const polyPatch &pp, bool &keepParticle)
Post-patch hook.
TypeName("patchCollisionDensity")
Runtime type information.
void write()
Write post-processing info.
virtual ~PatchCollisionDensity()=default
Destructor.
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.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.