Units Class Reference
#include <units.h>
List of all members.
Detailed Description
Provide conversion of units
Definition at line 9 of file units.h.
Constructor & Destructor Documentation
Units::Units |
( |
|
) |
[inline] |
Units::~Units |
( |
|
) |
[inline] |
Member Function Documentation
static double Units::BarsToNewton |
( |
double |
P |
) |
[inline, static] |
static double Units::cm3Tom3 |
( |
double |
vol |
) |
[inline, static] |
Definition at line 22 of file units.h.
00022 {return vol*1.e-6;}
static double Units::CtoK |
( |
double |
celsius |
) |
[inline, static] |
Definition at line 23 of file units.h.
00023 {return celsius+273;}
static double Units::m3Tocm3 |
( |
double |
vol |
) |
[inline, static] |
Definition at line 21 of file units.h.
00021 {return vol*1.e+6;}
static double Units::NewtonToBars |
( |
double |
P |
) |
[inline, static] |
static double Units::NewtonToPSI |
( |
double |
P |
) |
[inline, static] |
Definition at line 19 of file units.h.
00019 {return P*0.000145038;}
static double Units::PSIToNewton |
( |
double |
P |
) |
[inline, static] |
Definition at line 20 of file units.h.
00020 {return P*6894.75729;}
The documentation for this class was generated from the following file: