Skip to content

Commit

Permalink
apply formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickersing committed Mar 1, 2024
1 parent 276990a commit 9cc7904
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/equations/shallow_water_wet_dry_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -640,17 +640,17 @@ end

# Specialized `DissipationLocalLaxFriedrichs` to avoid spurious dissipation in the bottom topography
@inline function (dissipation::DissipationLocalLaxFriedrichs)(u_ll, u_rr,
orientation_or_normal_direction,
equations::ShallowWaterEquationsWetDry2D)
return (dissipation::DissipationLocalLaxFriedrichs)(u_ll, u_rr,
orientation_or_normal_direction,
ShallowWaterEquations2D(equations.gravity,
equations.H0))
equations::ShallowWaterEquationsWetDry2D)
return (dissipation::DissipationLocalLaxFriedrichs)(u_ll, u_rr,
orientation_or_normal_direction,
ShallowWaterEquations2D(equations.gravity,
equations.H0))
end

# Specialized `FluxHLL` to avoid spurious dissipation in the bottom topography
@inline function (numflux::FluxHLL)(u_ll, u_rr, orientation_or_normal_direction,
equations::ShallowWaterEquationsWetDry2D)
equations::ShallowWaterEquationsWetDry2D)
λ_min, λ_max = numflux.min_max_speed(u_ll, u_rr, orientation_or_normal_direction,
equations)

Expand Down

0 comments on commit 9cc7904

Please sign in to comment.