From ad0459c412ec4d1d617dac6947f43e43b02a20a6 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Fri, 21 Oct 2005 21:28:58 +0000 Subject: [PATCH] Added the unit 'gmol' to the list of recognized units. Added more accuracy to the eV unit. --- Cantera/src/units.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cantera/src/units.h b/Cantera/src/units.h index 0c3881c8d..e4eb56fb3 100644 --- a/Cantera/src/units.h +++ b/Cantera/src/units.h @@ -142,11 +142,12 @@ namespace Cantera { m_u["kJ"] = 1.0e3; m_u["cal"] = 4.184; m_u["kcal"] = 4184.0; - m_u["eV"] = 1.602e-19; + m_u["eV"] = 1.60217733e-19; // quantity m_u["mol"] = 1.0e-3; - m_u["mole"] = 1.0e-3; + m_u["gmol"] = 1.0e-3; + m_u["mole"] = 1.0e-3; m_u["kmol"] = 1.0; m_u["molec"] = 1.0/Avogadro;