mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Changes in data/decay.py from PullRequest Inc. review
This commit is contained in:
parent
9b499b4096
commit
1b177634f4
1 changed files with 3 additions and 2 deletions
|
|
@ -142,12 +142,12 @@ class FissionProductYields(EqualityMixin):
|
|||
'isomeric_state': ev.target['isomeric_state']
|
||||
}
|
||||
|
||||
# Read independent yields
|
||||
# Read independent yields (MF=8, MT=454)
|
||||
if (8, 454) in ev.section:
|
||||
file_obj = StringIO(ev.section[8, 454])
|
||||
self.energies, self.independent = get_yields(file_obj)
|
||||
|
||||
# Read cumulative yields
|
||||
# Read cumulative yields (MF=8, MT=459)
|
||||
if (8, 459) in ev.section:
|
||||
file_obj = StringIO(ev.section[8, 459])
|
||||
energies, self.cumulative = get_yields(file_obj)
|
||||
|
|
@ -372,6 +372,7 @@ class Decay(EqualityMixin):
|
|||
|
||||
items, values = get_list_record(file_obj)
|
||||
spin = items[0]
|
||||
# ENDF-102 specifies that unknown spin should be reported as -77.777
|
||||
if spin == -77.777:
|
||||
self.nuclide['spin'] = None
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue