34 #ifndef adaptiveSolver_H 35 #define adaptiveSolver_H 53 scalar safeScale_, alphaInc_, alphaDec_, minScale_, maxScale_;
virtual scalar solve(const scalar x0, const scalarField &y0, const scalarField &dydx0, const scalar dx, scalarField &y) const =0
Solve a single step dx and return the error.
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.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~adaptiveSolver()
Destructor.
dimensionedScalar y0(const dimensionedScalar &ds)
An ODE solver for chemistry.
adaptiveSolver(const ODESystem &ode, const dictionary &dict)
Construct from ODESystem.
bool resize(const label n)
Resize the ODE solver.