rkbs32 Module Procedure

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

Bogacki-Shampine 3(2) method

Reference

  • Bogacki, P and Shampine, L. F. (1989), "A 3(2) pair of Runge-Kutta formulas", Applied Mathematics Letters, 2 (4): 321-325

Note

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

Arguments

Type IntentOptional Attributes Name
class(rkbs32_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~~rkbs32~~CallsGraph proc~rkbs32 rklib_variable_steps::rkbs32 f f proc~rkbs32->f funcs funcs proc~rkbs32->funcs proc~check_fsal_cache rklib_module::rk_variable_step_fsal_class%check_fsal_cache proc~rkbs32->proc~check_fsal_cache proc~set_fsal_cache rklib_module::rk_variable_step_fsal_class%set_fsal_cache proc~rkbs32->proc~set_fsal_cache proc~check_fsal_cache->f proc~set_fsal_cache->f