mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Cleaned up rxn_rate_tally property for consistent scattering matrices
This commit is contained in:
parent
5bc55d4a81
commit
d8164952d0
1 changed files with 1 additions and 0 deletions
|
|
@ -3917,6 +3917,7 @@ class ScatterMatrixXS(MatrixMGXS):
|
|||
scatter_p0 = self.tallies['{}-0'.format(self.rxn_type)]
|
||||
scatter_p1 = self.tallies['{}-1'.format(self.rxn_type)]
|
||||
energy_filter = scatter_p0.find_filter(openmc.EnergyFilter)
|
||||
|
||||
# Transform scatter-p1 tally into an energyin/out matrix
|
||||
# to match scattering matrix shape for tally arithmetic
|
||||
energy_filter = copy.deepcopy(energy_filter)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue