advance_explicit_rk4 Subroutine

private subroutine advance_explicit_rk4(g, restart_time_step, istep)

standard RK4

RK_step is false unless in multibox mode

RK4 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