diff --git a/test/test_p4est_2d.jl b/test/test_p4est_2d.jl index 0a37d14d8f..6bdffc276c 100644 --- a/test/test_p4est_2d.jl +++ b/test/test_p4est_2d.jl @@ -111,18 +111,14 @@ end @trixi_testset "elixir_euler_source_terms_nonconforming_unstructured_flag.jl" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_source_terms_nonconforming_unstructured_flag.jl"), - l2=[ - 0.0034516244508588046, + l2=[0.0034516244508588046, 0.0023420334036925493, 0.0024261923964557187, - 0.004731710454271893, - ], - linf=[ - 0.04155789011775046, - 0.024772109862748914, - 0.03759938693042297, - 0.08039824959535657, - ]) + 0.004731710454271893], + linf=[0.04155789011775046, + 0.024772109862748914, + 0.03759938693042297, + 0.08039824959535657]) # Ensure that we do not have excessive memory allocations # (e.g., from type instabilities) let @@ -135,12 +131,10 @@ end @trixi_testset "elixir_euler_free_stream.jl" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_free_stream.jl"), - l2=[ - 2.063350241405049e-15, + l2=[2.063350241405049e-15, 1.8571016296925367e-14, 3.1769447886391905e-14, - 1.4104095258528071e-14, - ], + 1.4104095258528071e-14], linf=[1.9539925233402755e-14, 2e-12, 4.8e-12, 4e-12], atol=2.0e-12,) # Ensure that we do not have excessive memory allocations @@ -155,18 +149,14 @@ end @trixi_testset "elixir_euler_shockcapturing_ec.jl" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_shockcapturing_ec.jl"), - l2=[ - 9.53984675e-02, + l2=[9.53984675e-02, 1.05633455e-01, 1.05636158e-01, - 3.50747237e-01, - ], - linf=[ - 2.94357464e-01, - 4.07893014e-01, - 3.97334516e-01, - 1.08142520e+00, - ], + 3.50747237e-01], + linf=[2.94357464e-01, + 4.07893014e-01, + 3.97334516e-01, + 1.08142520e+00], tspan=(0.0, 1.0)) # Ensure that we do not have excessive memory allocations # (e.g., from type instabilities) @@ -180,18 +170,14 @@ end @trixi_testset "elixir_euler_sedov.jl" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_sedov.jl"), - l2=[ - 3.76149952e-01, + l2=[3.76149952e-01, 2.46970327e-01, 2.46970327e-01, - 1.28889042e+00, - ], - linf=[ - 1.22139001e+00, - 1.17742626e+00, - 1.17742626e+00, - 6.20638482e+00, - ], + 1.28889042e+00], + linf=[1.22139001e+00, + 1.17742626e+00, + 1.17742626e+00, + 6.20638482e+00], tspan=(0.0, 0.3)) # Ensure that we do not have excessive memory allocations # (e.g., from type instabilities) @@ -205,18 +191,14 @@ end @trixi_testset "elixir_euler_sedov.jl with HLLC Flux" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_sedov.jl"), - l2=[ - 0.4229948321239887, + l2=[0.4229948321239887, 0.2559038337457483, 0.2559038337457484, - 1.2990046683564136, - ], - linf=[ - 1.4989357969730492, - 1.325456585141623, - 1.3254565851416251, - 6.331283015053501, - ], + 1.2990046683564136], + linf=[1.4989357969730492, + 1.325456585141623, + 1.3254565851416251, + 6.331283015053501], surface_flux=flux_hllc, tspan=(0.0, 0.3)) # Ensure that we do not have excessive memory allocations @@ -231,18 +213,14 @@ end @trixi_testset "elixir_euler_sedov.jl (HLLE)" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_sedov.jl"), - l2=[ - 0.40853279043747015, + l2=[0.40853279043747015, 0.25356771650524296, 0.2535677165052422, - 1.2984601729572691, - ], - linf=[ - 1.3840909333784284, - 1.3077772519086124, - 1.3077772519086157, - 6.298798630968632, - ], + 1.2984601729572691], + linf=[1.3840909333784284, + 1.3077772519086124, + 1.3077772519086157, + 6.298798630968632], surface_flux=flux_hlle, tspan=(0.0, 0.3)) # Ensure that we do not have excessive memory allocations @@ -257,18 +235,14 @@ end @trixi_testset "elixir_euler_blast_wave_amr.jl" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_blast_wave_amr.jl"), - l2=[ - 6.32183914e-01, + l2=[6.32183914e-01, 3.86914231e-01, 3.86869171e-01, - 1.06575688e+00, - ], - linf=[ - 2.76020890e+00, - 2.32659890e+00, - 2.32580837e+00, - 2.15778188e+00, - ], + 1.06575688e+00], + linf=[2.76020890e+00, + 2.32659890e+00, + 2.32580837e+00, + 2.15778188e+00], tspan=(0.0, 0.3), coverage_override=(maxiters = 6,)) # Ensure that we do not have excessive memory allocations @@ -283,18 +257,14 @@ end @trixi_testset "elixir_euler_wall_bc_amr.jl" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_wall_bc_amr.jl"), - l2=[ - 0.020291447969983396, + l2=[0.020291447969983396, 0.017479614254319948, 0.011387644425613437, - 0.0514420126021293, - ], - linf=[ - 0.3582779022370579, - 0.32073537890751663, - 0.221818049107692, - 0.9209559420400415, - ], + 0.0514420126021293], + linf=[0.3582779022370579, + 0.32073537890751663, + 0.221818049107692, + 0.9209559420400415], tspan=(0.0, 0.15)) # Ensure that we do not have excessive memory allocations # (e.g., from type instabilities) @@ -308,18 +278,14 @@ end @trixi_testset "elixir_euler_forward_step_amr.jl" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_forward_step_amr.jl"), - l2=[ - 0.004194875320833303, + l2=[0.004194875320833303, 0.003785140699353966, 0.0013696609105790351, - 0.03265268616046424, - ], - linf=[ - 2.0585399781442852, - 2.213428805506876, - 3.862362410419163, - 17.75187237459251, - ], + 0.03265268616046424], + linf=[2.0585399781442852, + 2.213428805506876, + 3.862362410419163, + 17.75187237459251], tspan=(0.0, 0.0001), rtol=1.0e-7, skip_coverage=true) @@ -337,18 +303,14 @@ end @trixi_testset "elixir_euler_double_mach_amr.jl" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_double_mach_amr.jl"), - l2=[ - 0.051359355290192046, + l2=[0.051359355290192046, 0.4266034859911273, 0.2438304855475594, - 4.11487176105527, - ], - linf=[ - 6.902000373057003, - 53.95714139820832, - 24.241610279839758, - 561.0630401858057, - ], + 4.11487176105527], + linf=[6.902000373057003, + 53.95714139820832, + 24.241610279839758, + 561.0630401858057], tspan=(0.0, 0.0001), skip_coverage=true) if @isdefined sol # Skipped in coverage run @@ -365,18 +327,14 @@ end @trixi_testset "elixir_euler_supersonic_cylinder.jl" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_supersonic_cylinder.jl"), - l2=[ - 0.026798021911954406, + l2=[0.026798021911954406, 0.05118546368109259, 0.03206703583774831, - 0.19680026567208672, - ], - linf=[ - 3.653905721692421, - 4.285035711361009, - 6.8544353186357645, - 31.748244912257533, - ], + 0.19680026567208672], + linf=[3.653905721692421, + 4.285035711361009, + 6.8544353186357645, + 31.748244912257533], tspan=(0.0, 0.001), skip_coverage=true) if @isdefined sol # Skipped in coverage run @@ -393,14 +351,10 @@ end @trixi_testset "elixir_euler_NACA6412airfoil_mach2.jl" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_NACA6412airfoil_mach2.jl"), - l2=[ - 0.19107654776276498, 0.3545913719444839, - 0.18492730895077583, 0.817927213517244, - ], - linf=[ - 2.5397624311491946, 2.7075156425517917, 2.200980534211764, - 9.031153939238115, - ], + l2=[0.19107654776276498, 0.3545913719444839, + 0.18492730895077583, 0.817927213517244], + linf=[2.5397624311491946, 2.7075156425517917, 2.200980534211764, + 9.031153939238115], tspan=(0.0, 0.1)) # Ensure that we do not have excessive memory allocations # (e.g., from type instabilities) @@ -414,18 +368,14 @@ end @trixi_testset "elixir_eulergravity_convergence.jl" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_eulergravity_convergence.jl"), - l2=[ - 0.00024871265138964204, + l2=[0.00024871265138964204, 0.0003370077102132591, 0.0003370077102131964, - 0.0007231525513793697, - ], - linf=[ - 0.0015813032944647087, - 0.0020494288423820173, - 0.0020494288423824614, - 0.004793821195083758, - ], + 0.0007231525513793697], + linf=[0.0015813032944647087, + 0.0020494288423820173, + 0.0020494288423824614, + 0.004793821195083758], tspan=(0.0, 0.1)) # Ensure that we do not have excessive memory allocations # (e.g., from type instabilities) @@ -439,18 +389,14 @@ end @trixi_testset "elixir_shallowwater_source_terms.jl" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_shallowwater_source_terms.jl"), - l2=[ - 9.168126407325352e-5, + l2=[9.168126407325352e-5, 0.0009795410115453788, 0.002546408320320785, - 3.941189812642317e-6, - ], - linf=[ - 0.0009903782521019089, - 0.0059752684687262025, - 0.010941106525454103, - 1.2129488214718265e-5, - ], + 3.941189812642317e-6], + linf=[0.0009903782521019089, + 0.0059752684687262025, + 0.010941106525454103, + 1.2129488214718265e-5], tspan=(0.0, 0.1)) # Ensure that we do not have excessive memory allocations # (e.g., from type instabilities) @@ -470,10 +416,10 @@ end 7.879639065049896e-7, 1.0628631669056271e-6, 4.3382328912336153e-7], linf=[4.255466285174592e-5, 1.0029706745823264e-5, - 1.0029706747467781e-5, 1.2122265939010224e-5, - 5.4791097160444835e-6, 5.18922042269665e-6, - 5.189220422141538e-6, 9.552667261422676e-6, - 1.4237578427628152e-6]) + 1.0029706747467781e-5, 1.2122265939010224e-5, + 5.4791097160444835e-6, 5.18922042269665e-6, + 5.189220422141538e-6, 9.552667261422676e-6, + 1.4237578427628152e-6]) # Ensure that we do not have excessive memory allocations # (e.g., from type instabilities) let @@ -492,10 +438,11 @@ end 0.0, 2.0597079362763556e-5], linf=[10.194181233788775, 18.25472397868819, 10.031307436191334, - 0.0, - 19.647239392277378, 1.3938810140985936, 1.8724965294853084, - 0.0, - 0.0016290067532561904], + 0.0, + 19.647239392277378, 1.3938810140985936, + 1.8724965294853084, + 0.0, + 0.0016290067532561904], tspan=(0.0, 0.02)) # Ensure that we do not have excessive memory allocations # (e.g., from type instabilities) @@ -510,18 +457,14 @@ end @trixi_testset "elixir_linearizedeuler_gaussian_source.jl" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_linearizedeuler_gaussian_source.jl"), - l2=[ - 0.006047938590548741, + l2=[0.006047938590548741, 0.0040953286019907035, 0.004222698522497298, - 0.006269492499336128, - ], - linf=[ - 0.06386175207349379, - 0.0378926444850457, - 0.041759728067967065, - 0.06430136016259067, - ]) + 0.006269492499336128], + linf=[0.06386175207349379, + 0.0378926444850457, + 0.041759728067967065, + 0.06430136016259067]) # Ensure that we do not have excessive memory allocations # (e.g., from type instabilities) let @@ -534,18 +477,14 @@ end @trixi_testset "elixir_euler_subsonic_cylinder.jl" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_subsonic_cylinder.jl"), - l2=[ - 0.00011914390523852561, + l2=[0.00011914390523852561, 0.00010776028621724485, 6.139954358305467e-5, - 0.0003067693731825959, - ], - linf=[ - 0.1653075586200805, - 0.1868437275544909, - 0.09772818519679008, - 0.4311796171737692, - ], tspan=(0.0, 0.001)) + 0.0003067693731825959], + linf=[0.1653075586200805, + 0.1868437275544909, + 0.09772818519679008, + 0.4311796171737692], tspan=(0.0, 0.001)) u_ode = copy(sol.u[end]) du_ode = zero(u_ode) # Just a placeholder in this case