13 namespace OldConstant {
const DoubleWithUnit earth_rot_speed(360/86164.09054, units::deg/units::s)
Earth angular rotation frequency (1/sec)
const DoubleWithUnit planck(6.6260693e-34, units::J *units::s)
Planck's constant, in J s.
const Unit s("s", 1.0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0)
const double avogadro_constant
Avogadro constant.
const double molar_weight_ozone
Molar weight of O3, in g mol^-1.
const Unit m("m", 1.0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
const double molar_weight_dry_air
Molar weight of dry air, in g mol^-1.
We frequently have a double with units associated with it.
const double molar_weight_water
Molar weight of water, in g mol^-1.
Libraries such as boost::units allow unit handling where we know the units at compile time...
Contains classes to abstract away details in various Spurr Radiative Transfer software.
const Unit AU("AU", 1.49597870691e11 *units::m)
1 AU in meters.
const DoubleWithUnit speed_of_light(299792458, units::m/units::s)
Speed of light, in m/s.
const Unit deg("deg", pi/180.0 *rad)
const double gas_constant
Gas constant from the ideal gas law, in J mol-1 K-1.