46 #ifndef PatchCollisionDensity_H 47 #define PatchCollisionDensity_H 60 template<
class CloudType>
70 const scalar minSpeed_;
73 volScalarField::Boundary collisionDensity_;
77 volScalarField::Boundary collisionDensity0_;
A list of keyword definitions, which are a keyword followed by any number of values (e...
void write()
Write post-processing info.
const word & modelName() const
Return const access to the name of the sub-model.
const dictionary & dict() const
Return const access to the cloud dictionary.
const CloudType & owner() const
Return const access to the owner cloud.
virtual ~PatchCollisionDensity()
Destructor.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
TypeName("patchCollisionDensity")
Runtime type information.
A class for handling words, derived from string.
virtual void postPatch(const parcelType &p, const polyPatch &pp, bool &keepParticle)
Post-patch hook.
Function object which generates fields of the number and rate of collisions per unit area on all patc...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
PatchCollisionDensity(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
A patch is a list of labels that address the faces in the global face list.
Templated base class for dsmc cloud.
Templated cloud function object base class.