33 template<
class CloudType>
37 particleStressModel_(NULL)
41 template<
class CloudType>
54 this->
coeffDict().subDict(ParticleStressModel::typeName)
60 template<
class CloudType>
70 template<
class CloudType>
77 template<
class CloudType>
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()
static autoPtr< PackingModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
const dictionary & dict() const
Return const access to the cloud dictionary.
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual ~PackingModel()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Base class for packing models.
Base class for cloud sub-models.
const word & modelType() const
Return const access to the sub-model type.
static autoPtr< ParticleStressModel > New(const dictionary &dict)
Selector.
A class for handling words, derived from string.
PackingModel(CloudType &owner)
Construct null from owner.
autoPtr< ParticleStressModel > particleStressModel_
Protected data.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
const CloudType & owner() const
Return const access to the owner cloud.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const dictionary & coeffDict() const
Return const access to the coefficients dictionary.
Templated base class for dsmc cloud.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.