30 template<
class CloudType>
40 Info<<
"Selecting pair model " << PairModelType <<
endl;
42 typename dictionaryConstructorTable::iterator cstrIter =
43 dictionaryConstructorTablePtr_->find(PairModelType);
45 if (cstrIter == dictionaryConstructorTablePtr_->end())
49 "PairModel<CloudType>::New" 54 ) <<
"Unknown pair model type " 56 <<
", constructor not in hash table" <<
nl <<
nl 57 <<
" Valid pair model types are:" <<
nl 58 << dictionaryConstructorTablePtr_->sortedToc() <<
exit(
FatalError);
A class for handling words, derived from string.
static autoPtr< PairModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
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...
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Templated base class for dsmc cloud.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...