32 template<
class CloudType>
36 timeScaleModel_(nullptr)
40 template<
class CloudType>
53 this->coeffDict().subDict(TimeScaleModel::typeName)
59 template<
class CloudType>
72 template<
class CloudType>
79 template<
class CloudType>
89 Info<<
"Selecting isotropy model " << modelType <<
endl;
91 typename dictionaryConstructorTable::iterator cstrIter =
92 dictionaryConstructorTablePtr_->find(modelType);
94 if (cstrIter == dictionaryConstructorTablePtr_->end())
97 <<
"Unknown isotropy model type " << modelType
98 <<
", constructor not in hash table" <<
nl <<
nl 99 <<
" Valid isotropy model types are:" <<
nl 100 << dictionaryConstructorTablePtr_->sortedToc()
107 cstrIter()(
dict, owner)
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
errorManipArg< error, int > exit(error &err, const int errNo=1)
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.
IsotropyModel(CloudType &owner)
Construct null from owner.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Base class for cloud sub-models.
virtual ~IsotropyModel()
Destructor.
A class for handling words, derived from string.
autoPtr< TimeScaleModel > timeScaleModel_
Time scale model.
Base class for collisional return-to-isotropy models.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
static autoPtr< IsotropyModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Templated base class for dsmc cloud.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.