Skip to content

Commit

Permalink
Adapt failing subcell tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bennibolm committed Oct 11, 2024
1 parent d40a72e commit 9b1c7bb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions test/test_p4est_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@ end
t = sol.t[end]
u_ode = sol.u[end]
du_ode = similar(u_ode)
# Larger values for allowed allocations due to usage of custom
# integrator which are not *recorded* for the methods from
# Larger values for allowed allocations due to usage of custom
# integrator which are not *recorded* for the methods from
# OrdinaryDiffEq.jl
# Corresponding issue: https://github.com/trixi-framework/Trixi.jl/issues/1877
@test (@allocated Trixi.rhs!(du_ode, u_ode, semi, t)) < 15000
Expand Down Expand Up @@ -496,10 +496,10 @@ end
@test_trixi_include(joinpath(EXAMPLES_DIR,
"elixir_euler_supersonic_cylinder_sc_subcell.jl"),
l2=[
0.11085870166618325,
0.23309905989870722,
0.11085869100230632,
0.23309900854310292,
0.13505351590735631,
0.7932047512585592
0.7932046814135086
],
linf=[
2.9808773737943564,
Expand All @@ -514,8 +514,8 @@ end
t = sol.t[end]
u_ode = sol.u[end]
du_ode = similar(u_ode)
# Larger values for allowed allocations due to usage of custom
# integrator which are not *recorded* for the methods from
# Larger values for allowed allocations due to usage of custom
# integrator which are not *recorded* for the methods from
# OrdinaryDiffEq.jl
# Corresponding issue: https://github.com/trixi-framework/Trixi.jl/issues/1877
@test (@allocated Trixi.rhs!(du_ode, u_ode, semi, t)) < 15000
Expand Down
16 changes: 8 additions & 8 deletions test/test_tree_2d_euler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -416,16 +416,16 @@ end
@test_trixi_include(joinpath(EXAMPLES_DIR,
"elixir_euler_sedov_blast_wave_sc_subcell.jl"),
l2=[
0.4227549115123529,
0.14825759222652649,
0.14825759222682933,
0.6164668313131949
0.42274929059593996,
0.14825614518794877,
0.14825614518767963,
0.616466707835853
],
linf=[
1.6391908143728386,
0.8344433355906021,
0.8344433355966195,
6.450305752671201
1.6391650188422262,
0.8330633754652839,
0.8330633754763284,
6.450304018923273
],
tspan=(0.0, 1.0),
initial_refinement_level=4,
Expand Down

0 comments on commit 9b1c7bb

Please sign in to comment.