Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Hendrik Ranocha <[email protected]>
  • Loading branch information
JoshuaLampert and ranocha authored Aug 30, 2024
1 parent 65c4294 commit 32f0e82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/equations/bbm_bbm_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function initial_condition_manufactured(x, t,
eta = exp(t) * cospi(2 * (x - 2 * t))
v = exp(t / 2) * sinpi(2 * (x - t / 2))
if equations.bathymetry_type isa BathymetryFlat
D = 4
D = 4.0
else # equations.bathymetry_type isa BathymetryVariable
D = 5 + 2 * cospi(2 * x)
end
Expand Down Expand Up @@ -171,7 +171,7 @@ function initial_condition_manufactured_reflecting(x, t,
eta = exp(2 * t) * cospi(x)
v = exp(t) * x * sinpi(x)
if equations.bathymetry_type isa BathymetryFlat
D = 4
D = 4.0
else # equations.bathymetry_type isa BathymetryVariable
D = 5 + 2 * cospi(2 * x)
end
Expand Down

0 comments on commit 32f0e82

Please sign in to comment.