mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Copy hidden _fpy attribute when reducing depletion chain
This commit is contained in:
parent
23072d1713
commit
63c13cddd6
1 changed files with 2 additions and 0 deletions
|
|
@ -965,6 +965,8 @@ class Chain:
|
|||
new_nuclide = Nuclide(previous.name)
|
||||
new_nuclide.half_life = previous.half_life
|
||||
new_nuclide.decay_energy = previous.decay_energy
|
||||
if hasattr(previous, '_fpy'):
|
||||
new_nuclide._fpy = previous._fpy
|
||||
|
||||
new_decay = []
|
||||
for mode in previous.decay_modes:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue