Skip to content

Commit f2a3240

Browse files
Apply suggestions from code review
Co-authored-by: Hendrik Ranocha <ranocha@users.noreply.github.com>
1 parent e861fae commit f2a3240

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

src/equations/compressible_euler_internal_energy_with_gravity_2d.jl

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,8 @@ The compressible Euler equations with gravity
3333
0 \\ - \rho \frac{\partial}{\partial x} \phi \\ - \rho \frac{\partial}{\partial y} \phi \\
3434
\end{pmatrix}
3535
```
36-
for an ideal gas with ratio of specific heats gamma in two space dimensions. Here, `\rho is the density, v_1, v_2 are the velocities, e_{\text{internal}} is the specific internal energy, phi is the gravitational potential, and
37-
math
38-
p = (\gamma - 1) \rho e_internal
39-
the pressure.
36+
for an ideal gas with ratio of specific heats gamma in two space dimensions. Here, ``\rho`` is the density, ``v_1, v_2`` are the velocities, ``e_{\text{internal}}`` is the specific internal energy, ``\phi`` is the gravitational potential, and
4037
"""
41-
4238
struct CompressibleEulerInternalEnergyEquationsWithGravity2D{RealT <: Real} <:
4339
AbstractCompressibleEulerEquations{2, 5}
4440
p_0::RealT # reference pressure in Pa
@@ -135,11 +131,12 @@ end
135131
"""
136132
flux_nonconservative_artiano_ranocha(u_ll, u_rr, normal_direction::AbstractVector, equations::CompressibleEulerInternalEnergyEquationsWithGravity2D)
137133
138-
Entropy conserving, total energy conserving and kinetic energy preserving two-point flux by
134+
Nonconservative part of the entropy conserving, total energy conserving and kinetic energy preserving two-point flux by
139135
- Marco Artiano, Hendrik Ranocha (2026)
140136
On Affordable High-Order Entropy-Conservative/Stable and
141137
Well-Balanced Methods for Nonconservative Hyperbolic Systems
142-
[DOI: 10.48550/arXiv.2603.18978](https://arxiv.org/abs/2603.18978)"""
138+
[DOI: 10.48550/arXiv.2603.18978](https://arxiv.org/abs/2603.18978)
139+
"""
143140
@inline function flux_nonconservative_artiano_ranocha(u_ll, u_rr,
144141
normal_direction::AbstractVector,
145142
equations::CompressibleEulerInternalEnergyEquationsWithGravity2D)
@@ -214,7 +211,7 @@ end
214211
"""
215212
flux_nonconservative_artiano_ranocha(u_ll, u_rr, normal_direction::AbstractVector, equations::CompressibleEulerInternalEnergyEquationsWithGravity2D)
216213
217-
Entropy stable two-point flux by
214+
Nonconservative part of the entropy stable two-point flux by
218215
- Marco Artiano, Hendrik Ranocha (2026)
219216
On Affordable High-Order Entropy-Conservative/Stable and
220217
Well-Balanced Methods for Nonconservative Hyperbolic Systems

0 commit comments

Comments
 (0)