]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix typo in computation of speed of sound 10713/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 17 Jul 2020 11:13:47 +0000 (13:13 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 17 Jul 2020 11:13:47 +0000 (13:13 +0200)
examples/step-67/step-67.cc

index 39653594d53c24f37a60a9a68a4f757466e96f7a..d33d595ea43ae36426e670606d6cc37caf19f519 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.