vm_stiff_gas struct

Stiffened gas: $p = (\gamma - 1)\rho e - \gamma p_\infty$.

Sound speed from the same derivative: $c = \sqrt{\gamma (p + p_\infty) / \rho}$.

Public variables

vm_float_t gamma
Ratio of specific heats, must be > 1.
vm_float_t p_inf
Stiffening pressure $p_\infty$.