mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
sort nuclides when adding by element
This commit is contained in:
parent
3f8f8f6701
commit
0aba858f95
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ class Element(str):
|
|||
# If a cross_section library is not present, expand the element into
|
||||
# its natural nuclides
|
||||
else:
|
||||
for nuclide in natural_nuclides:
|
||||
for nuclide in sorted(list(natural_nuclides)):
|
||||
abundances[nuclide] = NATURAL_ABUNDANCE[nuclide]
|
||||
|
||||
# Modify mole fractions if enrichment provided
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue