8 #ifndef __mx_astro_units_hpp__
9 #define __mx_astro_units_hpp__
11 #include "constants.hpp"
35 template<
typename _realT>
54 template<
typename _realT>
73 template<
typename _realT>
92 template<
typename _realT>
111 template<
typename _realT>
constexpr units::realT year()
Length of year.
constexpr units::realT radEarth()
Radius of Earth (nominal equatorial)
constexpr units::realT radJupiter()
Radius of Jupiter (nominal equatorial)
constexpr units::realT lumSun()
Luminosity of the Sun.
constexpr units::realT GMSun()
Solar Mass Parameter.
constexpr units::realT massEarth()
Earth Mass.
constexpr units::realT au()
Astronomical Unit.
constexpr units::realT TeffSun()
Effective Temperature of the Sun.
constexpr units::realT massJupiter()
Jupiter Mass.
Centimeter-Gram-Second (cgs) units-type.
_realT realT
The real floating point type in which to specify constants.
static constexpr realT length
Conversion from SI (m) to cgs (cm)
static constexpr realT temperature
Conversion from SI (K) to cgs (K)
static constexpr realT mass
Conversion from SI (kg) to cgs (g)
static constexpr realT energy
Conversion from SI (J) to cgs (erg)
static constexpr realT time
Conversion from SI (s) to cgs (s)
static constexpr realT energy
Conversion from SI (J)
static constexpr realT mass
Conversion from SI (kg)
static constexpr realT length
Conversion from SI (m)
static constexpr realT temperature
Conversion from SI (K)
_realT realT
The real floating point type in which to specify constants.
static constexpr realT time
Conversion from SI (s)
_realT realT
The real floating point type in which to specify constants.
static constexpr realT mass
Conversion from SI (kg)
static constexpr realT temperature
Conversion from SI (K)
static constexpr realT time
Conversion from SI (s)
static constexpr realT energy
Conversion from SI (J)
static constexpr realT length
Conversion from SI (m)
International System of Units (SI) units-type.
static constexpr realT mass
Conversion from SI (kg) to SI (kg)
static constexpr realT temperature
Conversion from SI (K) to SI (K)
static constexpr realT length
Conversion from SI (m) to SI (m)
_realT realT
The real floating point type in which to specify constants.
static constexpr realT time
Conversion from SI (s) to SI (s)
static constexpr realT energy
Conversion from SI (J) to SI (J)
static constexpr realT length
Conversion from SI (m) to solar (au)
_realT realT
The real floating point type in which to specify constants.
static constexpr realT time
Conversion from SI (s) to solar (yr)
static constexpr realT temperature
Conversion from SI (K) to solar (5772 K)
static constexpr realT energy
Conversion from SI (J) to solar (Solar-luminosities X year)
static constexpr realT mass
Conversion from SI (kg) to solar (M_sun)