|
criptic v1
Cosmic Ray Interstellar Propagation Tool using Itô Calculus
|
A namespace to hold unit conversions. More...
Variables | |
| static constexpr Real | amu = GSL_CONST_CGSM_UNIFIED_ATOMIC_MASS |
| static constexpr Real | eV = GSL_CONST_CGSM_ELECTRON_VOLT |
| static constexpr Real | pc = GSL_CONST_CGSM_PARSEC |
| static constexpr Real | lyr = GSL_CONST_CGSM_LIGHT_YEAR |
| static constexpr Real | mb = 1e-27 |
| static constexpr Real | cm = 1.0 |
| static constexpr Real | m = 100.0 |
| static constexpr Real | kg = 1000.0 |
| static constexpr Real | g = 1.0 |
| static constexpr Real | keV = 1e3*eV |
| static constexpr Real | MeV = 1e6*eV |
| static constexpr Real | GeV = 1e9*eV |
| static constexpr Real | TeV = 1e12*eV |
| static constexpr Real | PeV = 1e15*eV |
| static constexpr Real | hr = 3600.0 |
| static constexpr Real | day = 24.0 * hr |
| static constexpr Real | yr = 365.25 * day |
| static constexpr Real | kyr = 1e3*yr |
| static constexpr Real | Myr = 1e6*yr |
A namespace to hold unit conversions.
|
staticconstexpr |
1 amu
|
staticconstexpr |
1 cm
|
staticconstexpr |
1 eV
|
staticconstexpr |
1 g
|
staticconstexpr |
1 hr in seconds
|
staticconstexpr |
1 kg
|
staticconstexpr |
1 light year
|
staticconstexpr |
1 m
|
staticconstexpr |
1 millibarn
|
staticconstexpr |
1 pc