atl_laxFriedLinearEuler Subroutine

public subroutine atl_laxFriedLinearEuler(nSides, nFaceDofs, faceRep, faceFlux, leftPos, rightPos, var, LinearEuler, idir)

Lax-Friedrich flux (in fully conservative variables) for the

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nSides
integer, intent(in) :: nFaceDofs
real(kind=rk), intent(in) :: faceRep(:,:,:,:)
real(kind=rk), intent(inout) :: faceFlux(:,:,:,:)
integer, intent(in) :: leftPos(nSides)
integer, intent(in) :: rightPos(nsides)
integer, intent(in) :: var(:)
type(atl_LinearEuler_type), intent(in) :: LinearEuler

Datatype for acoustic equation include all background data

integer, intent(in) :: idir

Direction of the flow, used for background velocity