rkdp85 Module Procedure

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

Dormand-Prince 8(5)

References

Note

The error estimate is the one from DOP853, which combines a 5th and a 3rd order estimate. By default, this is done for each component: . This behaves like , so it is consistent with the error of the 8th order solution (using only the 5th order estimate would overestimate it, resulting in steps that are smaller than necessary). With the error_combination=2 option of the stepsize_class, it is done as in DOP853, using the norms of the two scaled error estimates: , where (so the norm of the scaled error is , as in DOP853).

Arguments

Type IntentOptional Attributes Name
class(rkdp85_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~~rkdp85~~CallsGraph proc~rkdp85 rkdp85 f f proc~rkdp85->f funcs funcs proc~rkdp85->funcs norm norm proc~rkdp85->norm proc~check_fsal_cache rk_variable_step_class%check_fsal_cache proc~rkdp85->proc~check_fsal_cache tolerance tolerance proc~rkdp85->tolerance proc~set_fsal_cache rk_variable_step_class%set_fsal_cache proc~check_fsal_cache->proc~set_fsal_cache proc~set_fsal_cache->f