Skip to content

Commit

Permalink
Update examples/tree_1d_dgsem/elixir_shallowwater_quasi1d_well_balanc…
Browse files Browse the repository at this point in the history
…ed.jl

Co-authored-by: Jesse Chan <[email protected]>
  • Loading branch information
KrisshChawla and jlchan authored Sep 8, 2023
1 parent ef6503c commit cc4c50b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ function initial_condition_discontinuous_well_balancedness(x, t,
equations::ShallowWaterEquationsQuasi1D)
H = equations.H0
v = 0.0

# for a periodic domain, this choice of `b` and `a` mimic
# discontinuity across the periodic boundary.
b = 0.5 * (x[1] + 1)
a = 2 + x[1]

Expand Down

0 comments on commit cc4c50b

Please sign in to comment.