rk4 Module Procedure

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

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

Arguments

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