mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Don't assign MT=18 photon production to partial fission MTs
This commit is contained in:
parent
d02d565aaf
commit
3ea5d09e12
3 changed files with 2 additions and 13 deletions
|
|
@ -682,10 +682,6 @@ class IncidentNeutron(EqualityMixin):
|
|||
'cross section is given.'.format(mt))
|
||||
continue
|
||||
|
||||
# Don't duplicate fission cross sections
|
||||
if mt == 18:
|
||||
continue
|
||||
|
||||
# Create redundant reaction with appropriate cross section
|
||||
rx = Reaction(mt)
|
||||
mts = data.get_reaction_components(mt)
|
||||
|
|
|
|||
|
|
@ -576,14 +576,7 @@ def _get_photon_products_ace(ace, rx):
|
|||
# Determine corresponding reaction
|
||||
neutron_mt = photon_mts[i] // 1000
|
||||
|
||||
# Restrict to photons that match the requested MT. Note that if the
|
||||
# photon is assigned to MT=18 but the file splits fission into
|
||||
# MT=19,20,21,38, we assign the photon product to each of the individual
|
||||
# reactions
|
||||
if neutron_mt == 18:
|
||||
if rx.mt not in (18, 19, 20, 21, 38):
|
||||
continue
|
||||
elif neutron_mt != rx.mt:
|
||||
if neutron_mt != rx.mt:
|
||||
continue
|
||||
|
||||
# Create photon product and assign to reactions
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
"""
|
||||
Download ENDF/B-VII.1 ENDF data from NNDC for photo-atomic and atomic
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue