Go to the documentation of this file.
44 #ifndef InflationInjection_H
45 #define InflationInjection_H
69 template<
class CloudType>
77 word generationSetName_;
80 word inflationSetName_;
104 scalar volumeAccumulator_;
165 virtual scalar
volumeToInject(
const scalar time0,
const scalar time1);
174 const label nParcels,
186 const label nParcels,
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A class for handling words, derived from Foam::string.
InflationInjection(const dictionary &dict, CloudType &owner, const word &modelName)
virtual label parcelsToInject(const scalar time0, const scalar time1)
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Templated injection model class.
virtual autoPtr< InjectionModel< CloudType > > clone() const
const CloudType & owner() const
virtual bool fullyDescribed() const
const word & modelName() const
Inflation injection - creates new particles by splitting existing particles within in a set of genera...
const dictionary & dict() const
virtual bool validInjection(const label parcelI)
Templated base class for dsmc cloud.
virtual ~InflationInjection()
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
TypeName("inflationInjection")
virtual scalar volumeToInject(const scalar time0, const scalar time1)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual void setProperties(const label parcelI, const label nParcels, const scalar time, typename CloudType::parcelType &parcel)
virtual void setPositionAndCell(const label parcelI, const label nParcels, const scalar time, vector &position, label &cellOwner, label &tetFacei, label &tetPti)
A 2-tuple for storing two objects of dissimilar types. The container is similar in purpose to std::pa...
Tuple2< Pair< vector >, Pair< scalar > > vectorPairScalarPair
virtual void updateMesh()