30 template<
class CloudType>
38 word AtomizationModelType(dict.
lookup(
"atomizationModel"));
40 Info<<
"Selecting AtomizationModel " << AtomizationModelType <<
endl;
42 typename dictionaryConstructorTable::iterator cstrIter =
43 dictionaryConstructorTablePtr_->find(AtomizationModelType);
45 if (cstrIter == dictionaryConstructorTablePtr_->end())
48 <<
"Unknown AtomizationModelType type " 49 << AtomizationModelType
50 <<
", constructor not in hash table" <<
nl <<
nl 51 <<
" Valid AtomizationModel types are:" <<
nl 52 << dictionaryConstructorTablePtr_->sortedToc() <<
exit(
FatalError);
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.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< AtomizationModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
A class for handling words, derived from string.
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.