Skip to content

Commit

Permalink
Update tests after fixing conservation in main
Browse files Browse the repository at this point in the history
  • Loading branch information
bennibolm committed Sep 28, 2023
1 parent 73da539 commit 3bf461f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions test/test_structured_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ isdir(outdir) && rm(outdir, recursive=true)

@trixi_testset "elixir_euler_source_terms_sc_subcell.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_source_terms_sc_subcell.jl"),
l2 = [0.008160130056105786, 0.008658251740761163, 0.009351904344378272, 0.027757009375556807],
linf = [0.027225634762642947, 0.040734047009665986, 0.03819407519909657, 0.08080651960614205],
l2 = [0.008160127272557726, 0.008658253869683077, 0.009351900401871649, 0.02775701488343099],
linf = [0.027225608222781528, 0.0407340321806311, 0.0381940733564341, 0.08080650914262844],
tspan = (0.0, 0.5))
end

Expand All @@ -208,15 +208,15 @@ isdir(outdir) && rm(outdir, recursive=true)
@trixi_testset "elixir_euler_free_stream_sc_subcell.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_free_stream_sc_subcell.jl"),
l2 = [2.6224749465938795e-14, 1.6175366858083413e-14, 2.358782725951525e-14, 5.910156539173304e-14],
linf = [1.1945999744966684e-13, 1.084687895058778e-13, 1.7050250100680842e-13, 2.0250467969162855e-13],
linf = [1.1546319456101628e-14, 1.084687895058778e-13, 1.7050250100680842e-13, 2.0250467969162855e-13],
atol = 1.0e-13,
cells_per_dimension = (8, 8))
end

@trixi_testset "elixir_euler_free_stream_MCL.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_free_stream_MCL.jl"),
l2 = [3.532639560334565e-14, 1.4787576718355913e-14, 2.109573923923632e-14, 2.54649935281524e-14],
linf = [1.3955503419538218e-13, 1.1611545058798356e-13, 1.7619239400801234e-13, 2.007283228522283e-13],
linf = [7.993605777301127e-15, 1.1611545058798356e-13, 1.7619239400801234e-13, 2.007283228522283e-13],
atol = 1.0e-13,
cells_per_dimension = (8, 8))
end
Expand Down Expand Up @@ -247,8 +247,8 @@ isdir(outdir) && rm(outdir, recursive=true)

@trixi_testset "elixir_euler_shock_upstream_sc_subcell.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_shock_upstream_sc_subcell.jl"),
l2 = [1.2351468819080416, 1.1269856297330367, 1.7239124305681928, 11.715260007491556],
linf = [5.385492227740844, 6.575446131488329, 10.065232894750887, 51.00900038590831],
l2 = [1.2351468819080416, 1.1269856120551724, 1.7239124305681928, 11.715260007491556],
linf = [5.385491808683259, 6.575446013701839, 10.065227889186632, 51.008985921289565],
cells_per_dimension = (8, 12),
tspan = (0.0, 0.5))
end
Expand Down
4 changes: 2 additions & 2 deletions test/test_tree_2d_euler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ EXAMPLES_DIR = pkgdir(Trixi, "examples", "tree_2d_dgsem")

@trixi_testset "elixir_euler_blast_wave_sc_subcell.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_blast_wave_sc_subcell.jl"),
l2 = [0.3078500396564997, 0.1759956708830148, 0.1759417699101888, 0.6141202024471839],
linf = [1.297180993766177, 1.105746322133501, 1.1057676530433822, 2.4364099721878776],
l2 = [0.30785094769124677, 0.30785094769124677, 0.17594201496603085, 0.6141202024471839],
linf = [1.2971828380703805, 1.1057475500114755, 1.105770653844522, 2.4364101844067916],
tspan = (0.0, 0.5),
initial_refinement_level = 4,
coverage_override = (maxiters=6,))
Expand Down

0 comments on commit 3bf461f

Please sign in to comment.