| OpenFCST: The open-source Fuel Cell Simulation Toolbox
    | 
Class used to convert units using a standard convention. More...
#include <fcst_units.h>
| Static Public Member Functions | |
| static double | convert (double unitToConvert, double to, double from) | 
| The converstion routine convert(unitToConvert, X, Y) should be read as: | |
| static double | convert (double unitToConvert, int specificCase) | 
| Convert using on a case by case basis. | |
| Static Public Attributes | |
| static const unsigned int | KJ_to_BTU =1 | 
| static const unsigned int | BTU_to_KJ =2 | 
| static const unsigned int | ATM_to_PA =3 | 
| static double | PER_UNIT | 
| static double | PER_C_UNIT | 
| static double | PER_MILLI_UNIT | 
| static double | PER_MICRO_UNIT | 
| static double | PER_N_UNIT | 
| static double | PER_P_UNIT | 
| static double | PER_UNIT2 | 
| static double | PER_C_UNIT2 | 
| static double | PER_MILLI_UNIT2 | 
| static double | PER_MICRO_UNIT2 | 
| static double | PER_N_UNIT2 | 
| static double | PER_P_UNIT2 | 
| static double | PER_UNIT3 | 
| static double | PER_C_UNIT3 | 
| static double | PER_MILLI_UNIT3 | 
| static double | PER_MICRO_UNIT3 | 
| static double | PER_N_UNIT3 | 
| static double | PER_P_UNIT3 | 
| static double | UNIT | 
| static double | C_UNIT | 
| static double | MILLI_UNIT | 
| static double | MICRO_UNIT | 
| static double | N_UNIT | 
| static double | P_UNIT | 
| static double | UNIT2 | 
| static double | C_UNIT2 | 
| static double | MILLI_UNIT2 | 
| static double | MICRO_UNIT2 | 
| static double | N_UNIT2 | 
| static double | P_UNIT2 | 
| static double | UNIT3 | 
| static double | C_UNIT3 | 
| static double | MILLI_UNIT3 | 
| static double | MICRO_UNIT3 | 
| static double | N_UNIT3 | 
| static double | P_UNIT3 | 
Class used to convert units using a standard convention.
All routines are static, therefore, there is no need to create an object of this class, simply use the Units::convert() to call the class and add the .h file to your header file.
The converstion routine convert(unitToConvert, X, Y) should be read as:
convert quantity unitToConvert from Y to X
| 
 | inlinestatic | 
The converstion routine convert(unitToConvert, X, Y) should be read as:
convert quantity unitToConvert from Y to X
| 
 | inlinestatic | 
| 
 | static | 
Referenced by convert().
| 
 | static | 
Referenced by convert().
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
Referenced by convert().
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
 1.8.2
 1.8.2