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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.