rkssp22 Module Procedure

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

2-stage, 2nd order TVD Runge-Kutta method of Shu and Osher (1988). CFL=1.0.

Reference

  • C.-W. Shu, S. Osher, "Efficient implementation of essentially non-oscillatory shock-capturing schemes", Journal of Computational Physics, 77, 1988, 439-471. https://doi.org/10.1016/0021-9991(88)90177-5.

Arguments

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