mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Now using tally merging and slicing for openmc.mgxs
This commit is contained in:
parent
85a67ce17b
commit
17317a7a31
1 changed files with 3 additions and 2 deletions
|
|
@ -657,8 +657,9 @@ class MultiGroupXS(object):
|
|||
# Find and store Tallies in StatePoint
|
||||
for tally_type, tally in self.tallies.items():
|
||||
sp_tally = statepoint.get_tally(tally.scores, tally.filters,
|
||||
tally.nuclides,
|
||||
estimator=tally.estimator)
|
||||
tally.nuclides,
|
||||
estimator=tally.estimator)
|
||||
sp_tally = sp_tally.get_slice(scores=tally.scores, nuclides=tally.nuclides)
|
||||
self.tallies[tally_type] = sp_tally
|
||||
|
||||
def build_hdf5_store(self, filename='mgxs', directory='mgxs',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue