Go to the documentation of this file.
30 template<
class CloudType>
38 word BreakupModelType(
dict.lookup(
"breakupModel"));
40 Info<<
"Selecting BreakupModel " << BreakupModelType <<
endl;
42 typename dictionaryConstructorTable::iterator cstrIter =
43 dictionaryConstructorTablePtr_->find(BreakupModelType);
45 if (cstrIter == dictionaryConstructorTablePtr_->end())
48 <<
"Unknown BreakupModelType type "
50 <<
", constructor not in hash table" <<
nl <<
nl
51 <<
" Valid BreakupModel types are:" <<
nl
52 << dictionaryConstructorTablePtr_->sortedToc() <<
exit(
FatalError);
A class for handling words, derived from string.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< BreakupModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by any number of values (e....
errorManipArg< error, int > exit(error &err, const int errNo=1)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.