mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Now clear any old tallies in MGXS.load_from_statepoint(...)
This commit is contained in:
parent
1e89fd53e6
commit
3cbea749cb
1 changed files with 5 additions and 0 deletions
|
|
@ -612,6 +612,11 @@ class MGXS(object):
|
|||
filters = []
|
||||
filter_bins = []
|
||||
|
||||
# Clear any tallies previously loaded from a statepoint
|
||||
self._tallies = None
|
||||
self._xs_tally = None
|
||||
self._rxn_rate_tally = None
|
||||
|
||||
# Find, slice and store Tallies from StatePoint
|
||||
# The tally slicing is needed if tally merging was used
|
||||
for tally_type, tally in self.tallies.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue