Finished normalization of the gas constants

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-09-08 17:34:05 +02:00
parent b9308f5871
commit edf39c7387
10 changed files with 224 additions and 43 deletions

View File

@@ -0,0 +1,42 @@
#include "Configuration.h"
namespace CoolProp
{
//
//Configuration::Configuration()
//{
//}
//
//Configuration::~Configuration()
//{
//}
bool get_config_bool(configuration_keys key)
{
switch(key)
{
case NORMALIZE_GAS_CONSTANTS:
return true;
default:
throw ValueError(format("%d is invalid key to get_config_bool",key));
}
}
double get_config_double(configuration_keys key)
{
switch(key)
{
default:
throw ValueError(format("%d is invalid key to get_config_double",key));
}
}
std::string get_config_string(configuration_keys key)
{
switch(key)
{
default:
throw ValueError(format("%d is invalid key to get_config_string",key));
}
}
}