Lax-Friedrich flux (in fully conservative variables) for the Acoustic equation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in) | :: | left(4) |
The state on the face from its left limit (in conservative variables). |
||
real(kind=rk), | intent(in) | :: | right(4) |
The state on the face from its right limit (in conservative variables). |
||
type(atl_acoustic_type), | intent(in) | :: | acoustic |
Datatype for acoustic equation include all background data |
||
real(kind=rk), | intent(out) | :: | flux(4) |
Resulting flux for the left element (in conservative variables). |
||
integer, | intent(in) | :: | idir |
Direction of the flow, used for background velocity |