65#ifndef FaceInteraction_H
66#define FaceInteraction_H
81template<
class CloudType>
Templated cloud function object base class.
const CloudType & owner() const
Return const access to the owner cloud.
Templated base class for dsmc cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
Face zone-based particle interactions.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
static const Enum< interactionType > interactionTypeNames_
Names for the interaction types.
TypeName("faceInteraction")
Runtime type information.
interactionType
Enumeration defining the interaction types.
@ STICK
particles stick to the faceZone faces
@ ESCAPE
particles escape/are removed
@ REBOUND
particles rebound from the faceZone faces
bool processParticle(const parcelType &p, const label localZonei)
Return true if this particle will be assessed.
void write()
Write post-processing info.
virtual ~FaceInteraction()=default
Destructor.
CloudType::parcelType parcelType
Convenience typedef for parcel type.
virtual void postFace(const parcelType &p, bool &keepParticle)
Post-face hook.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
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.
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.