rkf78 Module Procedure

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

Fehlberg's 7(8) algorithm.

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(rkf78_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~~rkf78~~CallsGraph proc~rkf78 rklib_variable_steps::rkf78 f f proc~rkf78->f funcs funcs proc~rkf78->funcs