31 template<
class CloudType>
35 timeScaleModel_(nullptr)
39 template<
class CloudType>
58 template<
class CloudType>
62 timeScaleModel_(cm.timeScaleModel_, false)
68 template<
class CloudType>
75 template<
class CloudType>
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)
Base class for cloud sub-models.
Templated base class for dsmc cloud.
Base class for collisional damping models.
virtual ~DampingModel()
Destructor.
DampingModel(CloudType &owner)
Construct null from owner.
static autoPtr< DampingModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
Base class for time scale 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.