#include <ODE/RK.H>
Definition at line 50 of file RK.H.
Inheritance diagram for RK:
Collaboration diagram for RK:Public Member Functions | |
| TypeName ("RK") | |
| Runtime type information.
| |
| RK (const ODE &ode) | |
| Construct from ODE.
| |
| void | solve (const ODE &ode, const scalar x, const scalarField &y, const scalarField &dydx, const scalar h, scalarField &yout, scalarField &yerr) const |
| void | solve (const ODE &ode, scalar &x, scalarField &y, scalarField &dydx, const scalar eps, const scalarField &yScale, const scalar hTry, scalar &hDid, scalar &hNext) const |
| TypeName | ( | "RK" | ) |
Runtime type information.
| void solve | ( | const ODE & | ode, |
| const scalar | x, | ||
| const scalarField & | y, | ||
| const scalarField & | dydx, | ||
| const scalar | h, | ||
| scalarField & | yout, | ||
| scalarField & | yerr | ||
| ) | const |
Definition at line 75 of file RK.C.
References ODE::derivatives(), and forAll.
| void solve | ( | const ODE & | ode, |
| scalar & | x, | ||
| scalarField & | y, | ||
| scalarField & | dydx, | ||
| const scalar | eps, | ||
| const scalarField & | yScale, | ||
| const scalar | hTry, | ||
| scalar & | hDid, | ||
| scalar & | hNext | ||
| ) | const [virtual]
|
Implements ODESolver.
Definition at line 145 of file RK.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, h, Foam::mag(), Foam::max(), Foam::min(), Foam::pow(), and Foam::solve().