Go to the documentation of this file.
31 template<
class CloudType>
39 template<
class CloudType>
52 this->coeffDict().subDict(TimeScaleModel::typeName)
58 template<
class CloudType>
62 timeScaleModel_(cm.timeScaleModel_)
68 template<
class CloudType>
75 template<
class CloudType>
83 word modelType(
dict.lookup(typeName));
85 Info<<
"Selecting damping model " << modelType <<
endl;
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()
103 cstrIter()(
dict, owner)
A class for handling words, derived from string.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
Base class for cloud sub-models.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual ~DampingModel()
Destructor.
static autoPtr< DampingModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by any number of values (e....
errorManipArg< error, int > exit(error &err, const int errNo=1)
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...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.