Add electron to the built-in elements as an "isotope"
This commit is contained in:
parent
56022e8989
commit
974bbc7da4
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue