31 template<
class CloudType>
39 template<
class CloudType>
52 this->
coeffDict().subDict(TimeScaleModel::typeName)
58 template<
class CloudType>
68 template<
class CloudType>
75 template<
class CloudType>
87 typename dictionaryConstructorTable::iterator cstrIter =
88 dictionaryConstructorTablePtr_->find(
modelType);
90 if (cstrIter == dictionaryConstructorTablePtr_->end())
93 <<
"Unknown damping model type " <<
modelType 94 <<
", constructor not in hash table" <<
nl <<
nl 95 <<
" Valid damping model types are:" <<
nl 96 << dictionaryConstructorTablePtr_->sortedToc()
const dictionary & dict() const
Return const access to the cloud dictionary.
errorManipArg< error, int > exit(error &err, const int errNo=1)
static autoPtr< TimeScaleModel > New(const dictionary &dict)
Selector.
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.
autoPtr< TimeScaleModel > timeScaleModel_
Time scale model.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Base class for cloud sub-models.
const word & modelType() const
Return const access to the sub-model type.
A class for handling words, derived from string.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
static autoPtr< DampingModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
const CloudType & owner() const
Return const access to the owner cloud.
DampingModel(CloudType &owner)
Construct null from owner.
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.
virtual ~DampingModel()
Destructor.
Templated base class for dsmc cloud.
Base class for collisional damping models.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.