30 template<
class CloudType>
38 const word atomisationModelType(
dict.lookup(
"atomisationModel"));
41 <<
"Selecting atomisation model " << atomisationModelType <<
endl;
43 typename dictionaryConstructorTable::iterator cstrIter =
44 dictionaryConstructorTablePtr_->find(atomisationModelType);
46 if (cstrIter == dictionaryConstructorTablePtr_->end())
49 <<
"Unknown atomisation model type "
50 << atomisationModelType <<
nl <<
nl
51 <<
"Valid atomisation model types are:" <<
nl
52 << dictionaryConstructorTablePtr_->sortedToc()
static autoPtr< AtomisationModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
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...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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.
Ostream & indentOrNl(Ostream &os)
Indent stream or add newline if indent level == 0.