rk7 Module Procedure

module procedure rk7 module subroutine rk7(me, t, x, h, xf)

Take one Runge Kutta 7 integration step: t -> t+h (x -> xf)

Reference

  • E. B. Shanks, "Solutions of Differential Equations by Evaluations of Functions" Math. Comp. 20 (1966).

Arguments

Type IntentOptional Attributes Name
class(rk7_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


Calls

proc~~rk7~~CallsGraph proc~rk7 rklib_fixed_steps::rk7 f f proc~rk7->f funcs funcs proc~rk7->funcs