From 62e3584e52da37dbdcdedb5d5737c2ff1e1c4b2d Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Thu, 9 Jan 2025 12:05:52 +0100 Subject: [PATCH] fix elixir_burgers_shock.jl (#2222) * fix elixir_burgers_shock.jl * update test values --- examples/tree_1d_dgsem/elixir_burgers_shock.jl | 2 +- test/test_tree_1d_burgers.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/tree_1d_dgsem/elixir_burgers_shock.jl b/examples/tree_1d_dgsem/elixir_burgers_shock.jl index b795e8623fa..9ffe053ac0a 100644 --- a/examples/tree_1d_dgsem/elixir_burgers_shock.jl +++ b/examples/tree_1d_dgsem/elixir_burgers_shock.jl @@ -19,7 +19,7 @@ volume_flux = flux_ec surface_flux = flux_lax_friedrichs volume_integral = VolumeIntegralShockCapturingHG(indicator_sc; - volume_flux_dg = surface_flux, + volume_flux_dg = volume_flux, volume_flux_fv = surface_flux) solver = DGSEM(basis, surface_flux, volume_integral) diff --git a/test/test_tree_1d_burgers.jl b/test/test_tree_1d_burgers.jl index 56e1ee749f7..a4e60d050db 100644 --- a/test/test_tree_1d_burgers.jl +++ b/test/test_tree_1d_burgers.jl @@ -40,8 +40,8 @@ end @trixi_testset "elixir_burgers_shock.jl" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_burgers_shock.jl"), - l2=[0.4422505602587537], - linf=[1.0000000000000009]) + l2=[0.4429871964104191], + linf=[1.007778754747701]) # Ensure that we do not have excessive memory allocations # (e.g., from type instabilities) let