Skip to content

Commit

Permalink
Reset timers at correct time in deplete
Browse files Browse the repository at this point in the history
  • Loading branch information
gridley committed Jan 5, 2024
1 parent 63cb7c2 commit 463ba9f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions openmc/deplete/coupled_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ def __call__(self, vec, source_rate):
"""
# Reset results in OpenMC
openmc.lib.reset()
openmc.lib.reset_timers()

self._update_materials_and_nuclides(vec)

Expand Down Expand Up @@ -508,8 +509,6 @@ def write_bos_data(step):
"openmc_simulation_n{}.h5".format(step),
write_source=False)

openmc.lib.reset_timers()

def finalize(self):
"""Finalize a depletion simulation and release resources."""
if self.cleanup_when_done:
Expand Down

0 comments on commit 463ba9f

Please sign in to comment.