Global parameters of the code.
double Float
Precision used withing the code. Use Float instead of float or double where precision is important.
#define NAMESPACE_SPH_END
constexpr Float gravity
Gravitational constant (CODATA 2014)
constexpr Float au
Astronomical unit (exactly)
constexpr Float pc
Parsec.
constexpr Float radiationDensity
Radiation density constant 'a'.
constexpr Float stefanBoltzmann
Stefan-Boltzmann constant.
constexpr Float planckConstant
Planck constant.
constexpr Float speedOfLight
Speed of light in vacuum (exactly)
constexpr Float R_earth
Earth radius.
constexpr Float day
Number of seconds in a day.
constexpr Float R_sun
Solar radius.
constexpr Float M_earth
Earth mass.
constexpr Float year
Number of seconds in a year.
constexpr Float gasConstant
constexpr Float boltzmann
Boltzmann constant.
constexpr Float atomicMass
Atomic mass constant.