31 template<
class CloudType>
34 typename CloudType::parcelType::trackingData& td,
39 this->owner().mesh().template
40 lookupObject<kinematicCloud>(suppressionCloud_);
50 label celli = p.cell();
52 scalar xx = this->owner().rndGen().template sample01<scalar>();
57 p.typeId() =
max(p.typeId(), suppressedParcelType_);
65 template<
class CloudType>
73 suppressionCloud_(this->coeffDict().lookup(
"suppressionCloud")),
76 this->coeffDict().lookupOrDefault(
"suppressedParcelType", -1)
81 template<
class CloudType>
95 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.
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.
virtual void collide(typename CloudType::parcelType::trackingData &td, const scalar dt)
Update the model.
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.