|
mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Solar units-type.
The units are:
#include <astro/units.hpp>
Public Types | |
| typedef _realT | realT |
| The real floating point type in which to specify constants. | |
Static Public Attributes | |
| static constexpr realT | length |
| Conversion from SI (m) to solar (au). | |
| static constexpr realT | time |
| Conversion from SI (s) to solar (yr). | |
| static constexpr realT | mass |
| Conversion from SI (kg) to solar (M_sun). | |
| static constexpr realT | energy |
| Conversion from SI (J) to solar (Solar-luminosities X year). | |
| static constexpr realT | temperature |
| Conversion from SI (K) to solar (5772 K). | |
| typedef _realT mx::astro::units::solar< _realT >::realT |
|
staticconstexpr |
Conversion from SI (J) to solar (Solar-luminosities X year).
|
staticconstexpr |
Conversion from SI (m) to solar (au).
|
staticconstexpr |
Conversion from SI (kg) to solar (M_sun).
|
staticconstexpr |
Conversion from SI (K) to solar (5772 K).
|
staticconstexpr |
Conversion from SI (s) to solar (yr).