From 7d312b389e1d06cfe54b97595b1851728ef84023 Mon Sep 17 00:00:00 2001 From: Benedict Geihe Date: Thu, 6 Jun 2024 11:53:31 +0200 Subject: [PATCH] remove ode_default_options() --- examples/p4est_2d_dgsem/elixir_advection_restart_amr.jl | 2 +- examples/tree_2d_dgsem/elixir_advection_extended.jl | 2 +- examples/tree_2d_dgsem/elixir_advection_restart.jl | 2 +- examples/tree_2d_dgsem/elixir_advection_restart_amr.jl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/p4est_2d_dgsem/elixir_advection_restart_amr.jl b/examples/p4est_2d_dgsem/elixir_advection_restart_amr.jl index ccfaaa02ebe..fd3623dd88b 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 - callback = callbacks_ext, maxiters = 100_000; ode_default_options()...); + save_everystep = false, callback = callbacks_ext, maxiters = 100_000); # Get the last time index and work with that. load_timestep!(integrator, restart_filename) diff --git a/examples/tree_2d_dgsem/elixir_advection_extended.jl b/examples/tree_2d_dgsem/elixir_advection_extended.jl index 4d3da47b04a..0928c6c10ed 100644 --- a/examples/tree_2d_dgsem/elixir_advection_extended.jl +++ b/examples/tree_2d_dgsem/elixir_advection_extended.jl @@ -78,7 +78,7 @@ callbacks = CallbackSet(summary_callback, alg = CarpenterKennedy2N54(williamson_condition = false) sol = solve(ode, alg, dt = 1.0, # solve needs some value here but it will be overwritten by the stepsize_callback - save_everystep = false, callback = callbacks; ode_default_options()...); + save_everystep = false, callback = callbacks); # Print the timer summary summary_callback() diff --git a/examples/tree_2d_dgsem/elixir_advection_restart.jl b/examples/tree_2d_dgsem/elixir_advection_restart.jl index e0d1003f524..01040b6bbc5 100644 --- a/examples/tree_2d_dgsem/elixir_advection_restart.jl +++ b/examples/tree_2d_dgsem/elixir_advection_restart.jl @@ -29,7 +29,7 @@ save_solution.condition.save_initial_solution = false integrator = init(ode, alg, dt = dt, # solve needs some value here but it will be overwritten by the stepsize_callback - callback = callbacks, maxiters = 100_000; ode_default_options()...) + save_everystep = false, callback = callbacks, maxiters = 100_000) # Load saved context for adaptive time integrator if integrator.opts.adaptive diff --git a/examples/tree_2d_dgsem/elixir_advection_restart_amr.jl b/examples/tree_2d_dgsem/elixir_advection_restart_amr.jl index d0d46fcce3c..f366640ef51 100644 --- a/examples/tree_2d_dgsem/elixir_advection_restart_amr.jl +++ b/examples/tree_2d_dgsem/elixir_advection_restart_amr.jl @@ -40,7 +40,7 @@ callbacks_ext = CallbackSet(amr_callback, callbacks.discrete_callbacks...) integrator = init(ode, alg, dt = dt, # solve needs some value here but it will be overwritten by the stepsize_callback - callback = callbacks_ext, maxiters = 100_000; ode_default_options()...) + save_everystep = false, callback = callbacks_ext, maxiters = 100_000) # Load saved context for adaptive time integrator if integrator.opts.adaptive