16 virtual void set_SI(
double val) = 0;
39 throw ValueError(
format(
"Your unit [%d] is not a pressure unit",unit).c_str());
56 throw ValueError(
format(
"Your unit system [%d] is not valid",unit_system).c_str());
71 throw ValueError(
format(
"Your unit system [%d] is not valid",unit_system).c_str());
PressureUnit(double val, int unit)
double get_SI(void)
Return the SI system value (in Pa)
double convert_from_SI_to_unit_system(long iInput, double value, int new_system)
double get_in_unit_system(int unit_system)
void set_in_unit_system(double val, int unit_system)
void set_SI(double SI_val)
double convert_from_unit_system_to_SI(long iInput, double value, int old_system)
double conversion_factor(std::string num)
virtual void set_SI(double val)=0