MUSCL (primitive-variable) reconstruction with slope limiter; HLL two-wave approximate Riemann flux at faces. Uses estimated left/right signal speeds (Davis (1988)) for less diffusion than LLF, no contact resolution.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | u(nw_phys,5) | |||
| real(kind=dp), | intent(in) | :: | xlocC(1:ndim,2) | |||
| integer, | intent(in) | :: | flux_dim | |||
| real(kind=dp), | intent(out) | :: | flux(nw_flux,2) | |||
| integer, | intent(in) | :: | typelim |
subroutine reconflux_muscl_hll_prim(u, xlocC, flux_dim, flux, typelim) real(dp), intent(in) :: u(nw_phys, 5) real(dp), intent(in) :: xlocC(1:ndim, 2) integer, intent(in) :: flux_dim, typelim real(dp), intent(out) :: flux(nw_flux, 2) real(dp) :: uL(nw_phys,2), uR(nw_phys,2) integer :: iface call muscl_reconstruct_prim(u, typelim, uL, uR) do iface=1,2 call riemann_hll_prim(uL(:,iface), uR(:,iface), xlocC(:,iface), flux_dim, flux(:,iface)) end do end subroutine reconflux_muscl_hll_prim