rkf89 Module Procedure

module procedure rkf89 module subroutine rkf89(me, t, x, h, xf, xerr)

Fehlberg 8(9) method.

Reference

  • E. Fehlberg, "Classical Fifth-, Sixth-, Seventh-, and Eighth-Order Runge-Kutta Formulas with Stepsize Control", NASA TR R-2870.

Arguments

Type IntentOptional Attributes Name
class(rkf89_class), intent(inout) :: me
real(kind=wp), intent(in) :: t

initial time

real(kind=wp), intent(in), dimension(me%n) :: x

initial state

real(kind=wp), intent(in) :: h

time step

real(kind=wp), intent(out), dimension(me%n) :: xf

state at time t+h

real(kind=wp), intent(out), dimension(me%n) :: xerr

truncation error estimate for x


Calls

proc~~rkf89~~CallsGraph proc~rkf89 rklib_variable_steps::rkf89 f f proc~rkf89->f funcs funcs proc~rkf89->funcs