From 8aa81d83aa2a69b7a98a14b9d173bc443b3f4154 Mon Sep 17 00:00:00 2001 From: Daniel_Doehring Date: Fri, 29 Sep 2023 15:13:22 +0200 Subject: [PATCH 1/2] Use Analysis CB --- examples/tree_2d_dgsem/elixir_navierstokes_lid_driven_cavity.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tree_2d_dgsem/elixir_navierstokes_lid_driven_cavity.jl b/examples/tree_2d_dgsem/elixir_navierstokes_lid_driven_cavity.jl index 81e48737e79..d6c1da6792c 100644 --- a/examples/tree_2d_dgsem/elixir_navierstokes_lid_driven_cavity.jl +++ b/examples/tree_2d_dgsem/elixir_navierstokes_lid_driven_cavity.jl @@ -66,7 +66,7 @@ summary_callback = SummaryCallback() alive_callback = AliveCallback(alive_interval=100) analysis_interval = 100 analysis_callback = AnalysisCallback(semi, interval=analysis_interval) -callbacks = CallbackSet(summary_callback, alive_callback) +callbacks = CallbackSet(summary_callback, alive_callback, analysis_interval) ############################################################################### # run the simulation From 6633e9b71885ccdd474aa8e5169a74636702e624 Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Mon, 2 Oct 2023 10:24:45 +0200 Subject: [PATCH 2/2] Apply suggestions from code review --- examples/tree_2d_dgsem/elixir_navierstokes_lid_driven_cavity.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tree_2d_dgsem/elixir_navierstokes_lid_driven_cavity.jl b/examples/tree_2d_dgsem/elixir_navierstokes_lid_driven_cavity.jl index d6c1da6792c..3314343ccca 100644 --- a/examples/tree_2d_dgsem/elixir_navierstokes_lid_driven_cavity.jl +++ b/examples/tree_2d_dgsem/elixir_navierstokes_lid_driven_cavity.jl @@ -66,7 +66,7 @@ summary_callback = SummaryCallback() alive_callback = AliveCallback(alive_interval=100) analysis_interval = 100 analysis_callback = AnalysisCallback(semi, interval=analysis_interval) -callbacks = CallbackSet(summary_callback, alive_callback, analysis_interval) +callbacks = CallbackSet(summary_callback, alive_callback, analysis_callback) ############################################################################### # run the simulation