Skip to content

Commit

Permalink
minor fix in the example
Browse files Browse the repository at this point in the history
  • Loading branch information
warisa-r committed Mar 21, 2024
1 parent aa1a65f commit 9459b60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/structured_1d_dgsem/elixir_burgers_PERK3.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ callbacks = CallbackSet(summary_callback,
###############################################################################
# run the simulation

ode_algorithm = PERK3(6, tspan, semi)
ode_algorithm = PERK3(8, tspan, semi)

sol = Trixi.solve(ode, ode_algorithm,
dt = 1.0, # solve needs some value here but it will be overwritten by the stepsize_callback
Expand Down
4 changes: 2 additions & 2 deletions test/test_structured_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ end

@trixi_testset "elixir_burgers_PERK3.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_burgers_PERK3.jl"),
l2=[2.1660627788398715e-6],
linf=[1.271923809431641e-5],
l2=[2.1660627814208253e-6],
linf=[1.2719238097869123e-5],
atol=1.0e-5)
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
Expand Down

0 comments on commit 9459b60

Please sign in to comment.