80 y[i] =
y0[i] + dx*dydx0[i];
84 odes_.derivatives(x0 + dx,
y, err_);
90 y[i] =
y0[i] + 0.5*dx*(dydx0[i] + err_[i]);
91 err_[i] = 0.5*dx*(err_[i] - dydx0[i]);
94 return normalizeError(
y0,
y, err_);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
virtual bool resize()
Resize the ODE solver.
Abstract base-class for ODE system solvers.
virtual bool resize()=0
Resize the ODE solver.
Abstract base class for the systems of ordinary differential equations.
Trapezoidal ODE solver of order (1)2.
virtual bool resize()
Resize the ODE solver.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
An ODE solver for chemistry.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
dimensionedScalar y0(const dimensionedScalar &ds)
#define forAll(list, i)
Loop across all elements in list.