33 const dictionary& dict
36 word partitioningModelType(dict.lookup(
"type"));
38 Info<<
"Selecting partitioningModel: " 39 << partitioningModelType <<
endl;
41 dictionaryConstructorTable::iterator cstrIter =
42 dictionaryConstructorTablePtr_->find(partitioningModelType);
44 if (cstrIter == dictionaryConstructorTablePtr_->end())
47 <<
"Unknown partitioningModelType type " 48 << partitioningModelType << endl << endl
49 <<
"Valid partitioningModel types are : " << endl
50 << dictionaryConstructorTablePtr_->sortedToc()
54 return cstrIter()(
dict);
static autoPtr< partitioningModel > New(const dictionary &dict)
Select null constructed.
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.