31 template<
class CloudType>
35 this->owner().mesh().template
36 lookupObject<kinematicCloud>(suppressionCloud_);
46 label celli = p.cell();
48 scalar xx = this->owner().rndGen().template sample01<scalar>();
53 p.typeId() =
max(p.typeId(), suppressedParcelType_);
61 template<
class CloudType>
69 suppressionCloud_(this->coeffDict().lookup(
"suppressionCloud")),
72 this->coeffDict().lookupOrDefault(
"suppressedParcelType", -1)
77 template<
class CloudType>
91 template<
class CloudType>
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void collide(const scalar dt)
Update the model.
const word suppressionCloud_
Name of cloud used for suppression.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
Inter-cloud collision model, whereby the canReact flag can be used to inhibit devolatilisation and su...
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
const label suppressedParcelType_
Suppressed parcel type - optional.
dimensionedScalar exp(const dimensionedScalar &ds)
virtual const tmp< volScalarField > vDotSweep() const =0
Volume swept rate of parcels per cell.
SuppressionCollision(const dictionary &dict, CloudType &owner)
Construct from dictionary.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
virtual ~SuppressionCollision()
Destructor.
Virtual abstract base class for templated KinematicCloud.
Templated stochastic collision model class.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
Templated base class for dsmc cloud.