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 6a1f1ea commit 137f9fd
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 @@ -118,7 +118,7 @@ end
if v_normal <= 0.0
sound_speed = sqrt(gamma * p_local / rho_local) # local sound speed
p_star = p_local *
(1.0 + 0.5f0 * (gamma - 1) * v_normal / sound_speed)^(2.0 * gamma *
(1 + 0.5f0 * (gamma - 1) * v_normal / sound_speed)^(2 * gamma *
inv(gamma - 1))
else # v_normal > 0.0
A = 2.0 / ((gamma + 1) * rho_local)
Expand Down

0 comments on commit 137f9fd

Please sign in to comment.