heun Module Procedure

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

Heun's (2nd order) integration method

Arguments

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