Added "A" backwards compatibility alias for speed of sound

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-09-18 19:32:39 +02:00
parent 978bea358d
commit 3bc62f50a6

View File

@@ -125,6 +125,7 @@ public:
index_map.insert(std::pair<std::string, int>("Tmax", iT_max));
index_map.insert(std::pair<std::string, int>("pmax", iP_max));
index_map.insert(std::pair<std::string, int>("molemass", imolar_mass));
index_map.insert(std::pair<std::string, int>("A", ispeed_sound));
std::map<std::string,int>::iterator it;
for(it = index_map.begin(); it != index_map.end(); ++it )