Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLampert committed Dec 11, 2024
1 parent a2d8497 commit 9bfebe3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/equations/serre_green_naghdi_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,11 @@ function rhs!(dq, q, t, mesh,
source_terms::Nothing,
solver, cache)
if cache.D1 isa PeriodicUpwindOperators
rhs_sgn_upwind!(dq, q, equations, source_terms, cache, equations.bathymetry_type, boundary_conditions)
rhs_sgn_upwind!(dq, q, equations, source_terms, cache, equations.bathymetry_type,
boundary_conditions)
else
rhs_sgn_central!(dq, q, equations, source_terms, cache, equations.bathymetry_type, boundary_conditions)
rhs_sgn_central!(dq, q, equations, source_terms, cache, equations.bathymetry_type,
boundary_conditions)
end

return nothing
Expand Down

0 comments on commit 9bfebe3

Please sign in to comment.