33 template<
class CloudType>
37 particleStressModel_(nullptr)
41 template<
class CloudType>
60 template<
class CloudType>
64 particleStressModel_(cm.particleStressModel_, false)
70 template<
class CloudType>
77 template<
class CloudType>
87 Info<<
"Selecting packing model " << modelType <<
endl;
89 typename dictionaryConstructorTable::iterator cstrIter =
90 dictionaryConstructorTablePtr_->find(modelType);
92 if (cstrIter == dictionaryConstructorTablePtr_->end())
95 <<
"Unknown packing model type " << modelType
96 <<
", constructor not in hash table" <<
nl <<
nl
97 <<
" Valid packing model types are:" <<
nl
98 << dictionaryConstructorTablePtr_->sortedToc()
Base class for cloud sub-models.
Templated base class for dsmc cloud.
Base class for packing models.
static autoPtr< PackingModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
PackingModel(CloudType &owner)
Construct null from owner.
virtual ~PackingModel()
Destructor.
Base class for inter-particle stress models.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.