|
| TypeName ("RKF45") |
|
| RKF45 (const ODESystem &ode, const dictionary &dict) |
|
virtual | ~RKF45 ()=default |
|
virtual bool | resize () |
|
virtual scalar | solve (const scalar x0, const scalarField &y0, const scalarField &dydx0, const scalar dx, scalarField &y) const |
|
virtual void | solve (scalar &x, scalarField &y, scalar &dxTry) const |
|
virtual void | solve (scalar &x, scalarField &y, scalar &dxTry) const |
|
virtual void | solve (scalar &x, scalarField &y, stepState &step) const |
|
virtual void | solve (const scalar xStart, const scalar xEnd, scalarField &y, scalar &dxEst) const |
|
| TypeName ("ODESolver") |
|
| declareRunTimeSelectionTable (autoPtr, ODESolver, dictionary,(const ODESystem &ode, const dictionary &dict),(ode, dict)) |
|
| ODESolver (const ODESystem &ode, const dictionary &dict) |
|
| ODESolver (const ODESystem &ode, const scalarField &absTol, const scalarField &relTol) |
|
virtual | ~ODESolver ()=default |
|
label | nEqns () const |
|
scalarField & | absTol () |
|
scalarField & | relTol () |
|
template<class Type > |
void | resizeField (UList< Type > &f) const |
|
void | resizeMatrix (scalarSquareMatrix &m) const |
|
virtual void | solve (scalar &x, scalarField &y, stepState &step) const |
|
virtual void | solve (const scalar xStart, const scalar xEnd, scalarField &y, scalar &dxEst) const |
|
| adaptiveSolver (const ODESystem &ode, const dictionary &dict) |
|
virtual | ~adaptiveSolver ()=default |
|
bool | resize (const label n) |
|
void | solve (const ODESystem &ode, scalar &x, scalarField &y, scalar &dxTry) const |
|
4/5th Order Runge-Kutta-Fehlberg ODE solver
References:
Fehlberg, E. (1969).
Low-order classical Runge-Kutta formulas with stepsize control
and their application to some heat transfer problems.
NASA Technical Report 315.
Hairer, E., Nørsett, S. P., & Wanner, G. (1993).
Solving Ordinary Differential Equations I: Nonstiff Problems,
second edition.
Springer-Verlag, Berlin.
This method embeds the 4-th order integration step into the 5-th order step and allows to perform an adaptive step-size control using these two order without the need of re-evaluation.
- Source files
-
Definition at line 68 of file RKF45.H.