From 965a1acf60e0d0d4addac6029917fdcbde50db51 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Wed, 12 Oct 2016 07:45:16 -0500 Subject: [PATCH] Make sure MF=6 distributions get applied to fission products correctly --- openmc/data/reaction.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/openmc/data/reaction.py b/openmc/data/reaction.py index af903fe8a1..922e13ed4f 100644 --- a/openmc/data/reaction.py +++ b/openmc/data/reaction.py @@ -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