Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Co-authored-by: Hendrik Ranocha <[email protected]>
  • Loading branch information
huiyuxie and ranocha authored Aug 17, 2023
1 parent 636c115 commit c272719
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/equations/compressible_euler_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ are available in the paper:
sound_speed = sqrt(equations.gamma * p_local / rho_local) # local sound speed
p_star = p_local *
(1 + 0.5f0 * (equations.gamma - 1) * v_normal / sound_speed)^(2 *
equations.gamma *
equations.inv_gamma_minus_one)
equations.gamma *
equations.inv_gamma_minus_one)
else # v_normal > 0.0
A = 2 / ((equations.gamma + 1) * rho_local)
B = p_local * (equations.gamma - 1) / (equations.gamma + 1)
Expand Down

0 comments on commit c272719

Please sign in to comment.