Skip to content

Commit 7246489

Browse files
committed
move maxiters setting from APE monopole elixir to test setup
1 parent 2e505b7 commit 7246489

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/tree_2d_dgsem/elixir_ape_monopole.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ callbacks = CallbackSet(summary_callback, analysis_callback, save_solution, step
5959
# OrdinaryDiffEq's `solve` method evolves the solution in time and executes the passed callbacks
6060
sol = solve(ode, CarpenterKennedy2N54(williamson_condition=false),
6161
dt=1.0, # solve needs some value here but it will be overwritten by the stepsize_callback
62-
save_everystep=false, callback=callbacks, maxiters=50)
62+
save_everystep=false, callback=callbacks)
6363

6464
# Print the timer summary
6565
summary_callback()

test/test_examples_2d_ape.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ EXAMPLES_DIR = joinpath(pathof(Trixi) |> dirname |> dirname, "examples", "tree_2
4040
l2 = [0.006816790293009947, 0.0065068948357351625, 0.008724512056168938,
4141
0.0009894398191644543, 0.0, 7.144325530679576e-17, 7.144325530679576e-17],
4242
linf = [1.000633375007386, 0.5599788929862504, 0.5738432957070382,
43-
0.015590137026938428, 0.0, 2.220446049250313e-16, 2.220446049250313e-16])
43+
0.015590137026938428, 0.0, 2.220446049250313e-16, 2.220446049250313e-16],
44+
maxiters = 50)
4445
end
4546
end
4647

0 commit comments

Comments
 (0)