mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
reset timers after writing statepoint file
This commit is contained in:
parent
309c78dc78
commit
e4281408f6
1 changed files with 2 additions and 1 deletions
|
|
@ -460,7 +460,6 @@ class CoupledOperator(OpenMCOperator):
|
|||
|
||||
# Run OpenMC
|
||||
openmc.lib.run()
|
||||
openmc.lib.reset_timers()
|
||||
|
||||
# Extract results
|
||||
rates = self._calculate_reaction_rates(source_rate)
|
||||
|
|
@ -529,6 +528,8 @@ class CoupledOperator(OpenMCOperator):
|
|||
"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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue