module that holds all routines to calculate the flux for hyperbolic linearzied gas dynamic equations.
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)
Type | Intent | Optional | 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 |
The resulting flux in x direction