Return 2 * gamma / (gamma - 1).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eos_compressible), | intent(in) | :: | self | Equation of state. |
2 * gamma / (gamma - 1) value.
elemental function eta(self) result(eta_)
!< Return `2 * gamma / (gamma - 1)`.
class(eos_compressible), intent(in) :: self !< Equation of state.
real(R8P) :: eta_ !< `2 * gamma / (gamma - 1)` value.
eta_ = self%eta_
endfunction eta