mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Make sure Decay.half_life is set, even for stable nuclides
This commit is contained in:
parent
cc57551bd3
commit
e3d6189cfa
1 changed files with 1 additions and 0 deletions
|
|
@ -457,6 +457,7 @@ class Decay(EqualityMixin):
|
|||
items, values = get_list_record(file_obj)
|
||||
self.nuclide['spin'] = items[0]
|
||||
self.nuclide['parity'] = items[1]
|
||||
self.half_life = ufloat(float('inf'), float('inf'))
|
||||
|
||||
@property
|
||||
def decay_constant(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue