mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Fixed filters for normalization of scattering probability matrix with angular histogram representation
This commit is contained in:
parent
67ff99511d
commit
a42d492a30
1 changed files with 2 additions and 0 deletions
|
|
@ -3963,6 +3963,8 @@ class ScatterMatrixXS(MatrixMGXS):
|
|||
|
||||
# Remove the AggregateFilter summed across energyout bins
|
||||
norm._filters = norm._filters[:2]
|
||||
if self.scatter_format == 'histogram':
|
||||
norm._filters.append(norm._filters[-1])
|
||||
|
||||
# Multiply by the group-to-group probability matrix
|
||||
self._xs_tally *= (self.tallies[tally_key] / norm)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue