mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Use isomeric state, not excited state, for fission products.
After a discussion with Dave Brown from BNL, it was confirmed that FPS in the ENDF-6 format for fission product yields refers to the isomeric state, not the excited state.
This commit is contained in:
parent
91567fd9f4
commit
4e059a4d2b
1 changed files with 3 additions and 3 deletions
|
|
@ -114,10 +114,10 @@ class FissionProductYields(EqualityMixin):
|
|||
yields = {}
|
||||
for j in range(n_products):
|
||||
Z, A = divmod(int(values[4*j]), 1000)
|
||||
excited_state = int(values[4*j + 1])
|
||||
isomeric_state = int(values[4*j + 1])
|
||||
name = ATOMIC_SYMBOL[Z] + str(A)
|
||||
if excited_state > 0:
|
||||
name += '_e{}'.format(excited_state)
|
||||
if isomeric_state > 0:
|
||||
name += '_m{}'.format(isomeric_state)
|
||||
yield_j = ufloat(values[4*j + 2], values[4*j + 3])
|
||||
yields[name] = yield_j
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue