kernel_rk4 Subroutine

public subroutine kernel_rk4(u, resid, s1, s2, dt, rhs, ctx)

Classic RK4 (not SSP). s1 holds Q^n; s2 accumulates the weighted stages.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in), pointer :: u(:)
real(kind=wp), intent(in), pointer :: resid(:)
real(kind=wp), intent(in), pointer :: s1(:)
real(kind=wp), intent(in), pointer :: s2(:)
real(kind=wp), intent(in) :: dt
procedure(rhs_fn) :: rhs
class(*), intent(inout), target :: ctx