Skip to content

Commit

Permalink
Removed stqage limiter.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCan committed Aug 15, 2023
1 parent 8561a38 commit f650a5a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/structured_2d_dgsem/elixir_eulerpolytropic_wave.jl
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,10 @@ callbacks = CallbackSet(summary_callback,
save_solution,
stepsize_callback)

stage_limiter! = PositivityPreservingLimiterZhangShu(thresholds = (1.0e-4, 1.0e-4),
variables = (Trixi.density, pressure))

###############################################################################
# run the simulation

sol = solve(ode, CarpenterKennedy2N54(stage_limiter!, williamson_condition = false),
sol = solve(ode, CarpenterKennedy2N54(williamson_condition = false),
dt = 1.0, # solve needs some value here but it will be overwritten by the stepsize_callback
save_everystep = false, callback = callbacks);

Expand Down

0 comments on commit f650a5a

Please sign in to comment.