Skip to content

Commit

Permalink
Merge branch 'subcell-limiting' into subcell-limitin-parallel-bounds-…
Browse files Browse the repository at this point in the history
…check-MCL
  • Loading branch information
bennibolm committed Feb 5, 2024
2 parents 7e3c2ef + 6464f4d commit 94a71cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 2 additions & 3 deletions examples/tree_2d_dgsem/elixir_euler_sedov_blast_wave_MCL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,8 @@ callbacks = CallbackSet(summary_callback,
###############################################################################
# run the simulation

output_directory = "out"
stage_callbacks = (BoundsCheckCallback(save_errors = true, interval = 100,
output_directory = output_directory),)
stage_callbacks = (BoundsCheckCallback(save_errors = false, interval = 100,
output_directory = "out"))

sol = Trixi.solve(ode, Trixi.SimpleSSPRK33(stage_callbacks = stage_callbacks);
dt = 1.0, # solve needs some value here but it will be overwritten by the stepsize_callback
Expand Down
4 changes: 3 additions & 1 deletion test/test_tree_2d_euler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,9 @@ end
],
tspan=(0.0, 1.0),
initial_refinement_level=4,
coverage_override=(maxiters = 6,))
coverage_override=(maxiters = 6,),
save_errors=true,
output_directory="out")
lines = readlines("out/deviations.txt")
@test lines[1] ==
"# iter, simu_time, rho_min, rho_max, rho_v1_min, rho_v1_max, rho_v2_min, rho_v2_max, rho_e_min, rho_e_max, pressure_min"
Expand Down

0 comments on commit 94a71cb

Please sign in to comment.