From 9991cc7bb88d1959ce34114b2b15b5ea7cfcd415 Mon Sep 17 00:00:00 2001 From: Benedict Geihe Date: Fri, 31 May 2024 21:29:18 +0200 Subject: [PATCH] use ode_default_options() --- examples/p4est_2d_dgsem/elixir_advection_restart_amr.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/p4est_2d_dgsem/elixir_advection_restart_amr.jl b/examples/p4est_2d_dgsem/elixir_advection_restart_amr.jl index dfe76fbe63a..bb818944128 100644 --- a/examples/p4est_2d_dgsem/elixir_advection_restart_amr.jl +++ b/examples/p4est_2d_dgsem/elixir_advection_restart_amr.jl @@ -42,7 +42,7 @@ callbacks_ext = CallbackSet(amr_callback, callbacks.discrete_callbacks...) integrator = init(ode, CarpenterKennedy2N54(williamson_condition = false), dt = dt, # solve needs some value here but it will be overwritten by the stepsize_callback - save_everystep = false, callback = callbacks_ext, maxiters = 100_000); + callback = callbacks_ext, maxiters = 100_000; ode_default_options()...); # Get the last time index and work with that. load_timestep!(integrator, restart_filename)