atl_acoustic_physFlux Function

public function atl_acoustic_physFlux(state, acoustic, iDir) result(flux)

Function for physical flux of the acoustic equation F, 1D? Since it is 1d, there need to be passed the correct background velocity (u0 for F - flux in x direction, v0 for G - flux in y direction, w0 for H - flux in z direction)

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: state(4)

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), (4)

The resulting flux in x direction