mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 20:45:35 -04:00
Allow IncidentNeutron.from_endf to work on heatr output files
This commit is contained in:
parent
251ecba60b
commit
d630047f4c
1 changed files with 4 additions and 3 deletions
|
|
@ -777,9 +777,10 @@ class IncidentNeutron(EqualityMixin):
|
|||
for mt, rx in data.reactions.items():
|
||||
if mt in (19, 20, 21, 38):
|
||||
if (5, mt) not in ev.section:
|
||||
neutron = data.reactions[18].products[0]
|
||||
rx.products[0].applicability = neutron.applicability
|
||||
rx.products[0].distribution = neutron.distribution
|
||||
if rx.products:
|
||||
neutron = data.reactions[18].products[0]
|
||||
rx.products[0].applicability = neutron.applicability
|
||||
rx.products[0].distribution = neutron.distribution
|
||||
|
||||
# Read fission energy release (requires that we already know nu for
|
||||
# fission)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue