compute_euler_flux Subroutine

public pure subroutine compute_euler_flux(q, flux, gam)

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).

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: q(:)
real(kind=wp), intent(out) :: flux(:)
real(kind=wp), intent(in) :: gam

Ratio of specific heats