Add molarmass backwards compatibility alias

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-11-20 18:59:20 -05:00
parent 4e6cea7c19
commit 88472b861a

View File

@@ -129,6 +129,7 @@ public:
index_map.insert(std::pair<std::string, int>("pmax", iP_max));
index_map.insert(std::pair<std::string, int>("pmin", iP_min));
index_map.insert(std::pair<std::string, int>("molemass", imolar_mass));
index_map.insert(std::pair<std::string, int>("molarmass", imolar_mass));
index_map.insert(std::pair<std::string, int>("A", ispeed_sound));
std::map<std::string,int>::iterator it;