52 #ifndef ParticleTrap_H 53 #define ParticleTrap_H 67 template<
class CloudType>
81 const word alphaName_;
133 const typename parcelType::trackingData& td
139 const typename parcelType::trackingData& td
147 const point& position0,
ParticleTrap(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
virtual void postEvolve(const typename parcelType::trackingData &td)
Post-evolve hook.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
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.
virtual void preEvolve(const typename parcelType::trackingData &td)
Pre-evolve hook.
const CloudType & owner() const
Return const access to the owner cloud.
A class for handling words, derived from Foam::string.
virtual ~ParticleTrap()=default
Destructor.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
TypeName("particleTrap")
Runtime type information.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Templated base class for dsmc cloud.
Traps particles within a given phase fraction for multi-phase cases.
Templated cloud function object base class.
virtual void postMove(parcelType &p, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.