Euler ODE solver of order (0)1.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Abstract base class for the systems of ordinary differential equations.
Euler(const ODESystem &ode, const dictionary &dict)
Construct from ODESystem.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensionedScalar y0(const dimensionedScalar &ds)
virtual ~Euler()
Destructor.
An ODE solver for chemistry.
TypeName("Euler")
Runtime type information.
virtual void solve(scalar &x, scalarField &y, const label li, scalar &dxTry) const
Solve the ODE system from the current state xStart, y.
Abstract base-class for ODE system solvers.
virtual bool resize()
Resize the ODE solver.
virtual scalar solve(const scalar x0, const scalarField &y0, const label li, const scalarField &dydx0, const scalar dx, scalarField &y) const
Solve a single step dx and return the error.