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 conversion routine convert(unitToConvert, X, Y) should be read as: More... | |
static double | convert (double unitToConvert, int specificCase) |
Convert using on a case by case basis. More... | |
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_K_UNIT |
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 | K_UNIT |
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 to X from Y.
|
inlinestatic |
The conversion routine convert(unitToConvert, X, Y) should be read as:
convert quantity unitToConvert from Y to X
Referenced by FuelCell::OperatingConditions::get_anode_gas_density(), FuelCell::OperatingConditions::get_cathode_gas_density(), FuelCell::OperatingConditions::get_pa_atm(), FuelCell::OperatingConditions::get_pc_atm(), FuelCellShop::Equation::LiquidSourceEquation< dim >::get_temp_related_parameters(), and FuelCellShop::Equation::CompressibleMultiComponentKGEquationsCoupled< dim >::update_inv_diffusion_coefficients().
|
inlinestatic |
|
static |
|
static |
Referenced by convert().
|
static |
|
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 |
|
static |