Skip to content

Commit

Permalink
Update src/equations/compressible_moist_euler_2d_lucas.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Schlottke-Lakemper <[email protected]>
  • Loading branch information
MarcoArtiano and sloede authored Jan 26, 2025
1 parent 137f9fd commit d3afa89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/equations/compressible_moist_euler_2d_lucas.jl
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ end
# Eleuterio F. Toro (2009)
# Riemann Solvers and Numerical Methods for Fluid Dynamics: A Practical Introduction
# [DOI: 10.1007/b79761](https://doi.org/10.1007/b79761)
if v_normal <= 0.0
if v_normal <= 0
sound_speed = sqrt(gamma * p_local / rho_local) # local sound speed
p_star = p_local *
(1 + 0.5f0 * (gamma - 1) * v_normal / sound_speed)^(2 * gamma *
Expand Down

0 comments on commit d3afa89

Please sign in to comment.