Skip to content

Commit dc96fb5

Browse files
bryanwweberspeth
authored andcommitted
Update atomic weights with 2018 IUPAC/CIAAW data
Use data from the periodic table at http://www.ciaaw.org/atomic-weights.htm and https://iupac.org/wp-content/uploads/2018/12/IUPAC_Periodic_Table-01Dec18.pdf Elements without any atomic weight in either table do not have a stable isotope. These are deleted from elements.xml and have their atomic weight set to -1.0 in Elements.cpp. Add elements after plutonium that were not previously listed. None of these elements have stable isotopes. These elements are retained/added so their symbols, names, and atomic numbers can still be retrieved and the mapping of atomic number to index - 1 in the struct is maintained. Modify the element weight lookup functions to throw errors when an element with no weight is requested (i.e., the weight is -1.0 in the struct).
1 parent 541fddb commit dc96fb5

File tree

2 files changed

+507
-529
lines changed

2 files changed

+507
-529
lines changed

0 commit comments

Comments
 (0)