rks4 Module Procedure

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

4th order Runge Kutta Shanks (4 points)

Reference

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

Arguments

Type IntentOptional Attributes Name
class(rks4_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~~rks4~~CallsGraph proc~rks4 rklib_fixed_steps::rks4 f f proc~rks4->f funcs funcs proc~rks4->funcs