From 41ae16c032eb80c632a88505f520528ad6a3a721 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Tue, 3 May 2022 17:17:12 -0500 Subject: [PATCH] Allow for use of redundant fission when adjusting KERMA in from_njoy --- openmc/data/neutron.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/data/neutron.py b/openmc/data/neutron.py index 47ebfabf83..db78ce27b8 100644 --- a/openmc/data/neutron.py +++ b/openmc/data/neutron.py @@ -877,7 +877,7 @@ class IncidentNeutron(EqualityMixin): if f is not None: # Replace fission KERMA with (EFR + EB)*sigma_f - fission = data.reactions[18].xs[temp] + fission = data[18].xs[temp] kerma_fission = get_file3_xs(ev, 318, E) kerma.y = kerma.y - kerma_fission + ( f.fragments(E) + f.betas(E)) * fission(E)