midpoint Module Procedure

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

Midpoint (2nd order) integration method.

Arguments

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