mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
fix IndependentOperator._load_prev_results()
This commit is contained in:
parent
c3921b735f
commit
d5a8e29b7c
1 changed files with 4 additions and 1 deletions
|
|
@ -232,7 +232,10 @@ class IndependentOperator(OpenMCOperator):
|
|||
def _load_previous_results(self):
|
||||
"""Load results from a previous depletion simulation"""
|
||||
# Reload volumes into geometry
|
||||
self.prev_res[-1].transfer_volumes(self.materials)
|
||||
model = openmc.Model(materials=self.materials)
|
||||
self.prev_res[-1].transfer_volumes(model)
|
||||
self.materials = model.materials
|
||||
|
||||
|
||||
# Store previous results in operator
|
||||
# Distribute reaction rates according to those tracked
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue