From: Martin Kronbichler Date: Fri, 17 Jul 2020 11:13:47 +0000 (+0200) Subject: Fix typo in computation of speed of sound X-Git-Tag: v9.3.0-rc1~1275^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10713%2Fhead;p=dealii.git Fix typo in computation of speed of sound --- 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