face_flux_2d_normal Subroutine

public subroutine face_flux_2d_normal(qL, qR, nrm, scheme, gam, flux)

Face flux through an arbitrary UNIT normal nrm=(nx,ny). Rotates the conserved momentum into the face frame, reuses the axis solver (dir=1), then rotates the momentum flux back to (x,y). nrm must be a unit vector.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: qL(neq2d)
real(kind=wp), intent(in) :: qR(neq2d)
real(kind=wp), intent(in) :: nrm(2)
character(len=*), intent(in) :: scheme
real(kind=wp), intent(in) :: gam
real(kind=wp), intent(out) :: flux(neq2d)