split_flux_2d Subroutine

public subroutine split_flux_2d(q, dir, scheme, gam, fp, fm)

Dispatch to one of the three FVS routines by scheme name. dir=1 → x-splitting (uses F, eigenvalues u±c); dir=2 → y-splitting (uses G, v±c). scheme: 'lax_friedrichs' | 'steger_warming' | 'van_leer'. NOT pure: may call steger_warming_split_2d (which calls LAPACK).

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: q(neq2d)
integer, intent(in) :: dir
character(len=*), intent(in) :: scheme
real(kind=wp), intent(in) :: gam
real(kind=wp), intent(out) :: fp(neq2d)
real(kind=wp), intent(out) :: fm(neq2d)