From 45c7edea3120e95437a10b659532216abf818731 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Fri, 17 Jul 2020 13:13:47 +0200 Subject: [PATCH] Fix typo in computation of speed of sound --- examples/step-67/step-67.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/step-67/step-67.cc b/examples/step-67/step-67.cc index 39653594d5..d33d595ea4 100644 --- a/examples/step-67/step-67.cc +++ b/examples/step-67/step-67.cc @@ -565,7 +565,7 @@ namespace Euler_DG // \frac{\lambda}{2}\left[\mathbf{w}^--\mathbf{w}^+\right]\otimes // \mathbf{n^-}$, where the factor $\lambda = // \max\left(\|\mathbf{u}^-\|+c^-, \|\mathbf{u}^+\|+c^+\right)$ gives the - // maximal wave speed and $c = \sqrt{\lambda p / \rho}$ is the speed of + // maximal wave speed and $c = \sqrt{\gamma p / \rho}$ is the speed of // sound. Here, we choose two modifications of that expression for reasons // of computational efficiency, given the small impact of the flux on the // solution. For the above definition of the factor $\lambda$, we would need -- 2.39.5