Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring committed Nov 20, 2023
1 parent 83a8270 commit fdba6dd
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 16 deletions.
6 changes: 4 additions & 2 deletions test/test_dgmulti_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,12 @@ end
@trixi_testset "elixir_euler_fdsbp_periodic.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_fdsbp_periodic.jl"),
l2=[
9.146929178341782e-7, 1.8997616876521201e-6, 3.991417701005622e-6
9.146929178341782e-7, 1.8997616876521201e-6,
3.991417701005622e-6,
],
linf=[
1.7321089882393892e-6, 3.3252888869128583e-6, 6.525278767988141e-6
1.7321089882393892e-6, 3.3252888869128583e-6,
6.525278767988141e-6,
])
show(stdout, semi.solver.basis)
show(stdout, MIME"text/plain"(), semi.solver.basis)
Expand Down
6 changes: 4 additions & 2 deletions test/test_dgmulti_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -435,10 +435,12 @@ end
"elixir_euler_rayleigh_taylor_instability.jl"),
cells_per_dimension=(8, 8), tspan=(0.0, 0.2),
l2=[
0.07097806723891838, 0.005168550941966817, 0.013820912272220933, 0.03243357220022434
0.07097806723891838, 0.005168550941966817,
0.013820912272220933, 0.03243357220022434,
],
linf=[
0.4783395896753895, 0.02244629340135818, 0.04023357731088538, 0.08515807256615027
0.4783395896753895, 0.02244629340135818,
0.04023357731088538, 0.08515807256615027,
])
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
Expand Down
15 changes: 11 additions & 4 deletions test/test_dgmulti_3d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,13 @@ end
@trixi_testset "elixir_euler_curved.jl (Hex elements, SBP, flux differencing)" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_curved.jl"),
l2=[
0.01835488304593566, 0.024412704052042534, 0.02440852041608929, 0.018163145708800853, 0.03934280550797125
0.01835488304593566, 0.024412704052042534,
0.02440852041608929, 0.018163145708800853,
0.03934280550797125,
],
linf=[
0.14862225990793032, 0.2895236816183626, 0.291205448481636, 0.14566031338563246, 0.33153545867790246
0.14862225990793032, 0.2895236816183626, 0.291205448481636,
0.14566031338563246, 0.33153545867790246,
])
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
Expand All @@ -121,10 +124,14 @@ end
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_curved.jl"),
approximation_type=GaussSBP(),
l2=[
0.0026311315195097097, 0.002914422404496567, 0.0029138891106640368, 0.002615140832315232, 0.006881528610616624
0.0026311315195097097, 0.002914422404496567,
0.0029138891106640368, 0.002615140832315232,
0.006881528610616624,
],
linf=[
0.02099611487415931, 0.021314522450152307, 0.021288322783027613, 0.020273381695449455, 0.05259874039006007
0.02099611487415931, 0.021314522450152307,
0.021288322783027613, 0.020273381695449455,
0.05259874039006007,
])
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
Expand Down
6 changes: 4 additions & 2 deletions test/test_structured_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -562,10 +562,12 @@ end
@test_trixi_include(joinpath(EXAMPLES_DIR,
"elixir_euler_rayleigh_taylor_instability.jl"),
l2=[
0.06365630515019809, 0.007166887172039836, 0.0028787103533600804, 0.010247678008197966
0.06365630515019809, 0.007166887172039836,
0.0028787103533600804, 0.010247678008197966,
],
linf=[
0.47992143569849377, 0.02459548251933757, 0.02059810091623976, 0.0319077000843877
0.47992143569849377, 0.02459548251933757,
0.02059810091623976, 0.0319077000843877,
],
cells_per_dimension=(8, 8),
tspan=(0.0, 0.3))
Expand Down
6 changes: 4 additions & 2 deletions test/test_tree_1d_eulergravity.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ EXAMPLES_DIR = pkgdir(Trixi, "examples", "tree_1d_dgsem")
@trixi_testset "elixir_eulergravity_convergence.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_eulergravity_convergence.jl"),
l2=[
0.00021708496949694728, 0.0002913795242132917, 0.0006112500956552259
0.00021708496949694728, 0.0002913795242132917,
0.0006112500956552259,
],
linf=[
0.0004977733237385706, 0.0013594226727522418, 0.0020418739554664
0.0004977733237385706, 0.0013594226727522418,
0.0020418739554664,
])
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
Expand Down
8 changes: 6 additions & 2 deletions test/test_tree_3d_euler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,14 @@ end
@trixi_testset "elixir_euler_convergence.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_convergence.jl"),
l2=[
0.0003637241020254673, 0.00039555708663848046, 0.00039555708663832644, 0.0003955570866385083, 0.0007811613481643962
0.0003637241020254673, 0.00039555708663848046,
0.00039555708663832644, 0.0003955570866385083,
0.0007811613481643962,
],
linf=[
0.0024000660244567484, 0.002963541002521053, 0.0029635410025201647, 0.002963541002522385, 0.007191437359379549
0.0024000660244567484, 0.002963541002521053,
0.0029635410025201647, 0.002963541002522385,
0.007191437359379549,
])
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
Expand Down
6 changes: 4 additions & 2 deletions test/test_unstructured_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@ end
@trixi_testset "elixir_euler_free_stream.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_free_stream.jl"),
l2=[
3.3937365073416665e-14, 2.44759188939065e-13, 1.4585198700082895e-13, 4.716940764877479e-13
3.3937365073416665e-14, 2.44759188939065e-13,
1.4585198700082895e-13, 4.716940764877479e-13,
],
linf=[
8.804956763697191e-12, 6.261199891888225e-11, 2.936639820205755e-11, 1.20543575121701e-10
8.804956763697191e-12, 6.261199891888225e-11,
2.936639820205755e-11, 1.20543575121701e-10,
],
tspan=(0.0, 0.1),
atol=3.0e-13)
Expand Down

0 comments on commit fdba6dd

Please sign in to comment.