atl_acoustic_2d_numFlux_oneDir Function

private function atl_acoustic_2d_numFlux_oneDir(left, right, acoustic, iDir) result(flux)

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: left(3)

State to compute the fluxes (rho, u, v, w)

real(kind=rk), intent(in) :: right(3)

State to compute the fluxes (rho, u, v, w)

type(atl_acoustic_type), intent(in) :: acoustic

Datatype for acoustic equation include all background data

integer, intent(in) :: iDir

Direction of flux, used fot background velocity

Return Value real(kind=rk), (3)

The resulting flux in x direction