Skip to content

Commit

Permalink
Update src/equations/compressible_euler_3d.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Winters <[email protected]>
  • Loading branch information
benegee and andrewwinters5000 authored Jan 10, 2024
1 parent 8b8f1e2 commit 854eefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/equations/compressible_euler_3d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ end
p = 0.5 * (p_ll + p_rr) - 0.5 * c * rho * (v_rr - v_ll) / norm_
v = 0.5 * (v_ll + v_rr) - 1 / (2 * c * rho) * (p_rr - p_ll) * norm_

# We treat the energy term in analogy to the potential temperature term in the paper by
# We treat the energy term analogous to the potential temperature term in the paper by
# Chen et al., i.e. we use p_ll and p_rr, and not p
if v >= 0
f1, f2, f3, f4, f5 = v * u_ll
Expand Down

0 comments on commit 854eefd

Please sign in to comment.