37 const word schemeName(
dict.lookup(phiName));
39 Info<<
"Selecting " << phiName <<
" integration scheme "
40 << schemeName <<
endl;
42 typename wordConstructorTable::iterator cstrIter =
43 wordConstructorTablePtr_->find(schemeName);
45 if (cstrIter == wordConstructorTablePtr_->end())
48 <<
"Unknown integration scheme type "
49 << schemeName <<
nl <<
nl
50 <<
"Valid integration scheme types are:" <<
nl
51 << wordConstructorTablePtr_->sortedToc() <<
nl
A list of keyword definitions, which are a keyword followed by any number of values (e....
static autoPtr< integrationScheme > New(const word &phiName, const dictionary &dict)
Select an integration scheme.
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.