mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Fixed issue with consistent nu-scatter matrix with Legendre moments
This commit is contained in:
parent
ea833eab4d
commit
23cf630636
1 changed files with 3 additions and 2 deletions
|
|
@ -4125,8 +4125,9 @@ class ScatterMatrixXS(MatrixMGXS):
|
|||
self.tallies[tally_key].scores = \
|
||||
[score_prefix + '{}'.format(i)
|
||||
for i in range(self.legendre_order + 1)]
|
||||
elif self.scatter_format == 'histogram':
|
||||
self.tallies[self.rxn_type].scores = [self.rxn_type]
|
||||
# elif self.scatter_format == 'histogram':
|
||||
# print(self.tallies.keys(), self.tally_keys)
|
||||
# self.tallies[self.rxn_type].scores = [self.rxn_type]
|
||||
|
||||
super(ScatterMatrixXS, self).load_from_statepoint(statepoint)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue