ssprk22_step Subroutine

private subroutine ssprk22_step(state)

Advance the solution by one time step using the SSPRK(2,2) scheme.

Two-stage, second-order Strong Stability Preserving Runge-Kutta (Shu & Osher, 1988; also known as Heun's method in SSP form):

Q^(1) = Q^n + dt * R(Q^n) Q^{n+1} = 1/2 * Q^n + 1/2 * Q^(1) + 1/2 * dt * R(Q^(1))

CFL stability limit: 1. Also computes the global L2 residual norm for convergence monitoring.

Arguments

Type IntentOptional Attributes Name
type(solver_state_t), intent(inout) :: state