van_leer_split_both Subroutine

private pure subroutine van_leer_split_both(q, fp, fm, gam)

Fused van Leer flux splitting: returns F^+ and F^- in one call.

Extracts primitives once and evaluates both split fluxes, handling all Mach-number regimes (supersonic positive, subsonic, supersonic negative).

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: q(:)
real(kind=wp), intent(out) :: fp(:)
real(kind=wp), intent(out) :: fm(:)
real(kind=wp), intent(in) :: gam

Ratio of specific heats.