Skip to content

Commit

Permalink
Add timer for outer RK loop
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring committed Oct 23, 2023
1 parent 38404f1 commit 0d12203
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 0d12203

Please sign in to comment.