Skip to content

Commit

Permalink
Make evolve loops more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
lxmota committed Feb 7, 2025
1 parent c221f46 commit c72ab22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/evolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# the U.S. Government retains certain rights in this software. This software
# is released under the BSD license detailed in the file license.txt in the
# top-level Norma.jl directory.

function evolve(sim::SingleDomainSimulation)
watch_keep_time(sim)
apply_ics(sim)
Expand All @@ -15,9 +16,11 @@ function evolve(sim::SingleDomainSimulation)
if stop_evolve(sim) == true
break
end
start_runtimer(sim)
watch_keep_time(sim)
apply_bcs(sim)
advance(sim)
end_runtimer(sim)
write_step(sim)
end
finalize_writing(sim)
Expand Down

0 comments on commit c72ab22

Please sign in to comment.