From a7363e4b5427cb35d4a00f56a648dfa4d52a62e4 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Fri, 2 Aug 2019 18:03:35 -0400 Subject: [PATCH] Update mass of electron "element" to 2018 CODATA value --- data/inputs/elements.xml | 4 +++- src/thermo/Elements.cpp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/data/inputs/elements.xml b/data/inputs/elements.xml index fd945e45f..e056f0e8b 100644 --- a/data/inputs/elements.xml +++ b/data/inputs/elements.xml @@ -8,6 +8,8 @@ atomic weight" from the IUPAC Periodic Table is used. Available online at https://iupac.org/wp-content/uploads/2018/12/IUPAC_Periodic_Table-01Dec18.pdf + The electron mass is the 2018 CODATA value. + If no value is given in either source, it is because no stable isotopes of that element are known. Therefore, that element is not included in this file. --> @@ -838,7 +840,7 @@ - + The entropy is zero so as not to overcount. The 1/2 H2(g) entropy diff --git a/src/thermo/Elements.cpp b/src/thermo/Elements.cpp index 4c9481a7d..448ce81d4 100644 --- a/src/thermo/Elements.cpp +++ b/src/thermo/Elements.cpp @@ -206,7 +206,7 @@ static struct isotopeWeightData isotopeWeightTable[] = { // Tritium, CID=24824, https://pubchem.ncbi.nlm.nih.gov/compound/Tritium // (accessed on Aug. 7, 2019) {"Tr", "tritium", 3.0160495, 1}, - {"E", "electron", 0.000545, 0}, + {"E", "electron", ElectronMass * Avogadro, 0}, }; double getElementWeight(const std::string& ename)