From 9459b60fa0e3860d01d2f7216461b9e80c9cfa72 Mon Sep 17 00:00:00 2001 From: Warisa Date: Thu, 21 Mar 2024 14:23:43 +0100 Subject: [PATCH] minor fix in the example --- examples/structured_1d_dgsem/elixir_burgers_PERK3.jl | 2 +- test/test_structured_1d.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/structured_1d_dgsem/elixir_burgers_PERK3.jl b/examples/structured_1d_dgsem/elixir_burgers_PERK3.jl index eb07faa5ba2..4f0f786e9fc 100644 --- a/examples/structured_1d_dgsem/elixir_burgers_PERK3.jl +++ b/examples/structured_1d_dgsem/elixir_burgers_PERK3.jl @@ -43,7 +43,7 @@ callbacks = CallbackSet(summary_callback, ############################################################################### # run the simulation -ode_algorithm = PERK3(6, tspan, semi) +ode_algorithm = PERK3(8, tspan, semi) sol = Trixi.solve(ode, ode_algorithm, dt = 1.0, # solve needs some value here but it will be overwritten by the stepsize_callback diff --git a/test/test_structured_1d.jl b/test/test_structured_1d.jl index 8cf42889aa8..ee9afb2bbf2 100644 --- a/test/test_structured_1d.jl +++ b/test/test_structured_1d.jl @@ -60,8 +60,8 @@ end @trixi_testset "elixir_burgers_PERK3.jl" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_burgers_PERK3.jl"), - l2=[2.1660627788398715e-6], - linf=[1.271923809431641e-5], + l2=[2.1660627814208253e-6], + linf=[1.2719238097869123e-5], atol=1.0e-5) # Ensure that we do not have excessive memory allocations # (e.g., from type instabilities)