33 const dictionary& dict
36 word nucleationSiteModelType(dict.lookup(
"type"));
38 Info<<
"Selecting nucleationSiteModel: " 39 << nucleationSiteModelType <<
endl;
41 dictionaryConstructorTable::iterator cstrIter =
42 dictionaryConstructorTablePtr_->find(nucleationSiteModelType);
44 if (cstrIter == dictionaryConstructorTablePtr_->end())
47 <<
"Unknown nucleationSiteModelType type " 48 << nucleationSiteModelType << endl << endl
49 <<
"Valid nucleationSiteModel types are : " << endl
50 << dictionaryConstructorTablePtr_->sortedToc()
54 return cstrIter()(
dict);
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< nucleationSiteModel > New(const dictionary &dict)
Select null constructed.