mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Make sure MF=6 distributions get applied to fission products correctly
This commit is contained in:
parent
37d230e65b
commit
965a1acf60
1 changed files with 6 additions and 1 deletions
|
|
@ -1025,7 +1025,12 @@ class Reaction(EqualityMixin):
|
|||
|
||||
if (6, mt) in ev.section:
|
||||
# Product angle-energy distribution
|
||||
rx.products = _get_products(ev, mt)
|
||||
for product in _get_products(ev, mt):
|
||||
if mt in (18, 19, 20, 21, 38) and product.particle == 'neutron':
|
||||
rx.products[0].applicability = product.applicability
|
||||
rx.products[0].distribution = product.distribution
|
||||
else:
|
||||
rx.products.append(product)
|
||||
|
||||
elif (4, mt) in ev.section or (5, mt) in ev.section:
|
||||
# Uncorrelated angle-energy distribution
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue