From b5059ad7946aa65c77dda86e6a4b40332c2ca030 Mon Sep 17 00:00:00 2001 From: Daniel_Doehring Date: Mon, 4 Nov 2024 15:17:57 +0100 Subject: [PATCH] Use Analysis Callback `DGMulti` parabolic examples --- examples/dgmulti_2d/elixir_advection_diffusion.jl | 2 +- examples/dgmulti_2d/elixir_advection_diffusion_nonperiodic.jl | 2 +- examples/dgmulti_2d/elixir_navierstokes_convergence.jl | 2 +- examples/dgmulti_2d/elixir_navierstokes_convergence_curved.jl | 2 +- examples/dgmulti_2d/elixir_navierstokes_lid_driven_cavity.jl | 2 +- examples/dgmulti_3d/elixir_navierstokes_taylor_green_vortex.jl | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/dgmulti_2d/elixir_advection_diffusion.jl b/examples/dgmulti_2d/elixir_advection_diffusion.jl index ce7b0e745a4..35e048b6b54 100644 --- a/examples/dgmulti_2d/elixir_advection_diffusion.jl +++ b/examples/dgmulti_2d/elixir_advection_diffusion.jl @@ -51,7 +51,7 @@ summary_callback = SummaryCallback() alive_callback = AliveCallback(alive_interval = 10) analysis_interval = 100 analysis_callback = AnalysisCallback(semi, interval = analysis_interval, uEltype = real(dg)) -callbacks = CallbackSet(summary_callback, alive_callback) +callbacks = CallbackSet(summary_callback, alive_callback, analysis_callback) ############################################################################### # run the simulation diff --git a/examples/dgmulti_2d/elixir_advection_diffusion_nonperiodic.jl b/examples/dgmulti_2d/elixir_advection_diffusion_nonperiodic.jl index d2f11f18507..f66bc965a8c 100644 --- a/examples/dgmulti_2d/elixir_advection_diffusion_nonperiodic.jl +++ b/examples/dgmulti_2d/elixir_advection_diffusion_nonperiodic.jl @@ -67,7 +67,7 @@ summary_callback = SummaryCallback() alive_callback = AliveCallback(alive_interval = 10) analysis_interval = 100 analysis_callback = AnalysisCallback(semi, interval = analysis_interval, uEltype = real(dg)) -callbacks = CallbackSet(summary_callback, alive_callback) +callbacks = CallbackSet(summary_callback, alive_callback, analysis_callback) ############################################################################### # run the simulation diff --git a/examples/dgmulti_2d/elixir_navierstokes_convergence.jl b/examples/dgmulti_2d/elixir_navierstokes_convergence.jl index 38cf3d7984b..b529b43a41d 100644 --- a/examples/dgmulti_2d/elixir_navierstokes_convergence.jl +++ b/examples/dgmulti_2d/elixir_navierstokes_convergence.jl @@ -208,7 +208,7 @@ summary_callback = SummaryCallback() alive_callback = AliveCallback(alive_interval = 10) analysis_interval = 100 analysis_callback = AnalysisCallback(semi, interval = analysis_interval, uEltype = real(dg)) -callbacks = CallbackSet(summary_callback, alive_callback) +callbacks = CallbackSet(summary_callback, alive_callback, analysis_callback) ############################################################################### # run the simulation diff --git a/examples/dgmulti_2d/elixir_navierstokes_convergence_curved.jl b/examples/dgmulti_2d/elixir_navierstokes_convergence_curved.jl index 87ffd0e0995..92216bf6c29 100644 --- a/examples/dgmulti_2d/elixir_navierstokes_convergence_curved.jl +++ b/examples/dgmulti_2d/elixir_navierstokes_convergence_curved.jl @@ -216,7 +216,7 @@ summary_callback = SummaryCallback() alive_callback = AliveCallback(alive_interval = 10) analysis_interval = 100 analysis_callback = AnalysisCallback(semi, interval = analysis_interval, uEltype = real(dg)) -callbacks = CallbackSet(summary_callback, alive_callback) +callbacks = CallbackSet(summary_callback, alive_callback, analysis_callback) ############################################################################### # run the simulation diff --git a/examples/dgmulti_2d/elixir_navierstokes_lid_driven_cavity.jl b/examples/dgmulti_2d/elixir_navierstokes_lid_driven_cavity.jl index a612dd0e0d5..4c7d96d9305 100644 --- a/examples/dgmulti_2d/elixir_navierstokes_lid_driven_cavity.jl +++ b/examples/dgmulti_2d/elixir_navierstokes_lid_driven_cavity.jl @@ -63,7 +63,7 @@ summary_callback = SummaryCallback() alive_callback = AliveCallback(alive_interval = 10) analysis_interval = 100 analysis_callback = AnalysisCallback(semi, interval = analysis_interval, uEltype = real(dg)) -callbacks = CallbackSet(summary_callback, alive_callback) +callbacks = CallbackSet(summary_callback, alive_callback, analysis_callback) ############################################################################### # run the simulation diff --git a/examples/dgmulti_3d/elixir_navierstokes_taylor_green_vortex.jl b/examples/dgmulti_3d/elixir_navierstokes_taylor_green_vortex.jl index 9ae90ac47b6..51e22041754 100644 --- a/examples/dgmulti_3d/elixir_navierstokes_taylor_green_vortex.jl +++ b/examples/dgmulti_3d/elixir_navierstokes_taylor_green_vortex.jl @@ -64,7 +64,7 @@ analysis_callback = AnalysisCallback(semi, interval = analysis_interval, uEltype extra_analysis_integrals = (energy_kinetic, energy_internal, enstrophy)) -callbacks = CallbackSet(summary_callback, alive_callback) +callbacks = CallbackSet(summary_callback, alive_callback, analysis_callback) ############################################################################### # run the simulation