Skip to content

Commit c5bfafc

Browse files
committed
add stepsize callback
1 parent 322193b commit c5bfafc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/p4est_2d_dgsem/elixir_advection_basic_gpu.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ save_solution = SaveSolutionCallback(interval = 100,
4848
stepsize_callback = StepsizeCallback(cfl = 1.6)
4949

5050
# Create a CallbackSet to collect all callbacks such that they can be passed to the ODE solver
51-
callbacks = CallbackSet(summary_callback)
51+
callbacks = CallbackSet(summary_callback, stepsize_callback)
5252
# analysis_callback, save_solution, stepsize_callback)
5353

5454
###############################################################################

0 commit comments

Comments
 (0)