Skip to content

Commit

Permalink
Fix elixirs and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bennibolm committed Nov 28, 2023
1 parent bcfc1e9 commit 60a0fbf
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
1 change: 1 addition & 0 deletions examples/structured_2d_dgsem/elixir_euler_double_mach.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

using OrdinaryDiffEq
using Trixi
using LinearAlgebra: norm # for use in get_boundary_outer_state

###############################################################################
# semidiscretization of the compressible Euler equations
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

using OrdinaryDiffEq
using Trixi
using LinearAlgebra: norm # for use in get_boundary_outer_state

###############################################################################
# semidiscretization of the compressible Euler equations
Expand Down
32 changes: 16 additions & 16 deletions test/test_structured_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -642,16 +642,16 @@ end
@trixi_testset "elixir_euler_double_mach.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_double_mach.jl"),
l2=[
0.8895735118233061,
6.7732502383794655,
3.2537120458330913,
77.15211199077615,
0.8892711012596337,
6.768939095393111,
3.2588878985646255,
77.16322087232443,
],
linf=[
10.595204890391603,
133.14647204580373,
39.59427444784427,
1467.649170200717,
10.740469658192428,
133.31243847865667,
38.66587124337752,
1470.9225424937222,
],
initial_refinement_level=3,
tspan=(0.0, 0.05))
Expand All @@ -668,16 +668,16 @@ end
@trixi_testset "elixir_euler_double_mach_MCL.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_double_mach_MCL.jl"),
l2=[
0.9230564188859353,
7.048067525695328,
3.2513897966486693,
80.02373234685636,
0.9199296340616842,
7.054039186151105,
3.3554396452157937,
79.79580531230015,
],
linf=[
13.994085024959638,
138.49691741864086,
38.68709126443809,
1574.7770582279284,
14.104646332033838,
133.18960630718664,
39.607867526776694,
1476.9124768351937,
],
initial_refinement_level=3,
tspan=(0.0, 0.05))
Expand Down

0 comments on commit 60a0fbf

Please sign in to comment.