Skip to content

Commit

Permalink
Merge branch 'main' into AMR_Parabolic_2D3D_Tree
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring authored Oct 24, 2023
2 parents d452930 + e900262 commit 202106b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/time_integration/methods_SSP.jl
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function solve!(integrator::SimpleIntegratorSSP)
callbacks = integrator.opts.callback

integrator.finalstep = false
while !integrator.finalstep
@trixi_timeit timer() "main loop" while !integrator.finalstep
if isnan(integrator.dt)
error("time step size `dt` is NaN")
end
Expand Down
2 changes: 1 addition & 1 deletion test/test_tree_2d_euler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ EXAMPLES_DIR = pkgdir(Trixi, "examples", "tree_2d_dgsem")
t = sol.t[end]
u_ode = sol.u[end]
du_ode = similar(u_ode)
@test (@allocated Trixi.rhs!(du_ode, u_ode, semi, t)) < 1000
@test (@allocated Trixi.rhs!(du_ode, u_ode, semi, t)) < 15000
end
end

Expand Down
2 changes: 1 addition & 1 deletion test/test_tree_2d_eulermulti.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ EXAMPLES_DIR = pkgdir(Trixi, "examples", "tree_2d_dgsem")
t = sol.t[end]
u_ode = sol.u[end]
du_ode = similar(u_ode)
@test (@allocated Trixi.rhs!(du_ode, u_ode, semi, t)) < 1000
@test (@allocated Trixi.rhs!(du_ode, u_ode, semi, t)) < 15000
end
end

Expand Down

0 comments on commit 202106b

Please sign in to comment.