We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72e5823 commit f1bb61eCopy full SHA for f1bb61e
src/equations/shallow_water_3d.jl
@@ -425,8 +425,7 @@ end
425
c_rr = sqrt(max(equations.gravity * h_rr, 0.0f0))
426
427
# The normal velocities are already scaled by the norm
428
- return max(abs(v_ll) + c_ll * norm_, abs(v_rr) + c_rr * norm_) *
429
- norm(normal_direction)
+ return max(abs(v_ll) + c_ll, abs(v_rr) + c_rr) * norm(normal_direction)
430
end
431
432
# Specialized `DissipationLocalLaxFriedrichs` to avoid spurious dissipation in the bottom topography
0 commit comments