Merge pull request #2055 from paulromano/from-njoy-fix

Allow for use of redundant fission when adjusting KERMA in from_njoy
This commit is contained in:
Jonathan Shimwell 2022-05-04 16:49:52 +01:00 committed by GitHub
commit 232e6c6c9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)