36 template<
class CloudType>
40 particleStressModel_(nullptr)
44 template<
class CloudType>
63 template<
class CloudType>
67 particleStressModel_(cm.particleStressModel_)
73 template<
class CloudType>
80 template<
class CloudType>
90 dict.template getOrDefault<word>(typeName,
"none")
92 Info<<
"Selecting packing model " << modelType <<
endl;
94 auto* ctorPtr = dictionaryConstructorTable(modelType);
103 *dictionaryConstructorTablePtr_
static autoPtr< PackingModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
virtual ~PackingModel()
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Ostream & endl(Ostream &os)
Add newline and flush stream.
Base class for packing models.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
Base class for cloud sub-models.
A class for handling words, derived from Foam::string.
errorManip< error > abort(error &err)
PackingModel(CloudType &owner)
Construct null from owner.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
Templated base class for dsmc cloud.
Base class for inter-particle stress models.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...