36 word ODESolverTypeName(
dict.lookup(
"solver"));
37 Info<<
"Selecting ODE solver " << ODESolverTypeName <<
endl;
39 dictionaryConstructorTable::iterator cstrIter =
40 dictionaryConstructorTablePtr_->find(ODESolverTypeName);
42 if (cstrIter == dictionaryConstructorTablePtr_->end())
45 <<
"Unknown ODESolver type "
46 << ODESolverTypeName <<
nl <<
nl
47 <<
"Valid ODESolvers are : " <<
endl
48 << dictionaryConstructorTablePtr_->sortedToc()
static autoPtr< ODESolver > New(const ODESystem &ode, const dictionary &dict)
Select null constructed.
Abstract base class for the systems of ordinary differential equations.
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.