30 template<
class CloudType>
38 const word atomisationModelType(
dict.lookup(
"atomisationModel"));
40 Info<<
"Selecting atomisation model " << atomisationModelType <<
endl;
42 typename dictionaryConstructorTable::iterator cstrIter =
43 dictionaryConstructorTablePtr_->find(atomisationModelType);
45 if (cstrIter == dictionaryConstructorTablePtr_->end())
48 <<
"Unknown atomisation model type "
49 << atomisationModelType <<
nl <<
nl
50 <<
"Valid atomisation model types are:" <<
nl
51 << 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 keyword definitions, which are a keyword followed by any number of values (e....
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.