Add electron to the built-in elements as an "isotope"

This commit is contained in:
Ray Speth 2017-02-27 23:37:38 -05:00
parent 56022e8989
commit 974bbc7da4

View file

@ -160,6 +160,7 @@ static struct atomicWeightData atomicWeightTable[] = {
static struct isotopeWeightData isotopeWeightTable[] = {
{"D", "deuterium", 2.0, 1},
{"Tr", "tritium", 3.0, 1},
{"E", "electron", 0.000545, 0},
};
double getElementWeight(const std::string& ename)