Compute the Euler flux vector F(Q) for a given conserved state.
F = (rhou, rhou^2 + p, u*(E + p)) See course notes, Eq. (2).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | q(:) | |||
| real(kind=wp), | intent(out) | :: | flux(:) | |||
| real(kind=wp), | intent(in) | :: | gam |
Ratio of specific heats |