advance_explicit_rk2 Subroutine

private subroutine advance_explicit_rk2(g, restart_time_step, istep)

advance_expliciit_rk2 uses strong stability-preserving RK2 to advance one time step

RK_step only true if running in multibox mode

SSP rk2 algorithm to advance explicit part of code if GK equation written as dg/dt = rhs - vpar . grad h, solve_gke returns rhs*dt this is g at intermediate time level

Arguments

Type IntentOptional Attributes Name
complex, intent(inout), dimension(:, :, -nzgrid:, :, vmu_lo%llim_proc:) :: g
logical, intent(inout) :: restart_time_step
integer, intent(in) :: istep