32 template<
class CloudType>
36 timeScaleModel_(nullptr)
40 template<
class CloudType>
59 template<
class CloudType>
68 cm.timeScaleModel_.
valid()
69 ? cm.timeScaleModel_->
clone().ptr()
77 template<
class CloudType>
84 template<
class CloudType>
94 Info<<
"Selecting isotropy model " << modelType <<
endl;
96 typename dictionaryConstructorTable::iterator cstrIter =
97 dictionaryConstructorTablePtr_->find(modelType);
99 if (cstrIter == dictionaryConstructorTablePtr_->end())
102 <<
"Unknown isotropy model type " << modelType
103 <<
", constructor not in hash table" <<
nl <<
nl
104 <<
" Valid isotropy model types are:" <<
nl
105 << dictionaryConstructorTablePtr_->sortedToc()
112 cstrIter()(
dict, owner)
Base class for cloud sub-models.
Templated base class for dsmc cloud.
Base class for collisional return-to-isotropy models.
IsotropyModel(CloudType &owner)
Construct null from owner.
static autoPtr< IsotropyModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
virtual ~IsotropyModel()
Destructor.
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.
bool valid(const PtrList< ModelType > &l)
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.