rkdp54 Module Procedure

module procedure rkdp54 module subroutine rkdp54(me, t, x, h, xf, xerr)

Dormand-Prince 5(4) method (RKDP or DOPRI)

Reference

  • Dormand, J. R.; Prince, P. J. (1980), "A family of embedded Runge-Kutta formulae", Journal of Computational and Applied Mathematics, 6 (1): 19-26
  • https://en.wikipedia.org/wiki/Dormand-Prince_method

Note

This is a first-same-as-last (FSAL) step.

Arguments

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

real(kind=wp), intent(out), dimension(me%n) :: xerr

truncation error estimate for x


Calls

proc~~rkdp54~~CallsGraph proc~rkdp54 rklib_variable_steps::rkdp54 f f proc~rkdp54->f funcs funcs proc~rkdp54->funcs proc~check_fsal_cache rklib_module::rk_variable_step_fsal_class%check_fsal_cache proc~rkdp54->proc~check_fsal_cache proc~set_fsal_cache rklib_module::rk_variable_step_fsal_class%set_fsal_cache proc~rkdp54->proc~set_fsal_cache proc~check_fsal_cache->f proc~set_fsal_cache->f