9 std::cout <<
format(
"%s:%d: convert_from_unit_system_to_SI(i=%d,value=%g,old_system=%d)\n",__FILE__,__LINE__,iInput,value,old_system).c_str();
41 throw ValueError(
format(
"Unit System [%d] is undefined",old_system).c_str());
58 throw ValueError(
format(
"Unit System [%d] is undefined",old_system).c_str());
117 throw ValueError(
format(
"index [%d] is invalid in convert_from_unit_system_to_SI",iInput).c_str());
127 std::cout <<
format(
"%s:%d: convert_from_SI_to_unit_system(%d,%g,%d)\n",__FILE__,__LINE__,iInput,value,new_system).c_str();
160 throw ValueError(
format(
"Unit System [%d] is undefined",new_system).c_str());
177 throw ValueError(
format(
"Unit System [%d] is undefined",new_system).c_str());
236 throw ValueError(
format(
"index [%d] is invalid in convert_from_SI_to_unit_system",iInput).c_str());
280 for (
int i = 1; i < (int)num.size(); i += 2)
EXPORT_CODE int CONVENTION get_debug_level()
EXPORT_CODE int CONVENTION get_standard_unit_system(void)
double convert_from_SI_to_unit_system(long iInput, double value, int new_system)
double conversion_factor(std::string num)
long get_param_index(std::string param)
double convert_from_unit_system_to_SI(long iInput, double value, int old_system)