ReFRACtor
|
Contains useful constants. More...
Functions | |
const Unit | AU ("AU", 1.49597870691e11 *units::m) |
1 AU in meters. More... | |
const DoubleWithUnit | earth_rot_speed (360/86164.09054, units::deg/units::s) |
Earth angular rotation frequency (1/sec) More... | |
const DoubleWithUnit | planck (6.6260693e-34, units::J *units::s) |
Planck's constant, in J s. More... | |
const DoubleWithUnit | speed_of_light (299792458, units::m/units::s) |
Speed of light, in m/s. More... | |
const DoubleWithUnit | wgs84_a (6378137.0000, units::m) |
Equatorial radius. More... | |
const DoubleWithUnit | wgs84_b (6356752.3142450, units::m) |
Polar radius in meters. More... | |
Variables | |
const double | avogadro_constant = 6.02214179e23 |
Avogadro constant. More... | |
const double | gas_constant = 8.3144621 |
Gas constant from the ideal gas law, in J mol-1 K-1. More... | |
const double | molar_weight_dry_air = 28.9644 |
Molar weight of dry air, in g mol^-1. More... | |
const double | molar_weight_ozone = 47.9982 |
Molar weight of O3, in g mol^-1. More... | |
const double | molar_weight_water = 18.01528 |
Molar weight of water, in g mol^-1. More... | |
const double | pi = units::pi |
Contains useful constants.
This contains various constants that describe the wgs84 ellipsoid.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! This will get replaced with the new constants class !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
const Unit FullPhysics::OldConstant::AU | ( | "AU" | , |
1.49597870691e11 *units::m | |||
) |
1 AU in meters.
This comes from http://neo.jpl.nasa.gov/glossary/au.html
const DoubleWithUnit FullPhysics::OldConstant::earth_rot_speed | ( | 360/86164. | 09054, |
units::deg/units::s | |||
) |
Earth angular rotation frequency (1/sec)
const DoubleWithUnit FullPhysics::OldConstant::planck | ( | 6.6260693e- | 34, |
units::J *units::s | |||
) |
Planck's constant, in J s.
const DoubleWithUnit FullPhysics::OldConstant::speed_of_light | ( | 299792458 | , |
units::m/units::s | |||
) |
Speed of light, in m/s.
Note that this is actually exact, since the speed of light is a defined quantity.
const DoubleWithUnit FullPhysics::OldConstant::wgs84_a | ( | 6378137. | 0000, |
units::m | |||
) |
Equatorial radius.
const DoubleWithUnit FullPhysics::OldConstant::wgs84_b | ( | 6356752. | 3142450, |
units::m | |||
) |
Polar radius in meters.
const double FullPhysics::OldConstant::avogadro_constant = 6.02214179e23 |
Avogadro constant.
Definition at line 18 of file old_constant.h.
const double FullPhysics::OldConstant::gas_constant = 8.3144621 |
Gas constant from the ideal gas law, in J mol-1 K-1.
Definition at line 43 of file old_constant.h.
const double FullPhysics::OldConstant::molar_weight_dry_air = 28.9644 |
Molar weight of dry air, in g mol^-1.
Definition at line 24 of file old_constant.h.
const double FullPhysics::OldConstant::molar_weight_ozone = 47.9982 |
Molar weight of O3, in g mol^-1.
Definition at line 37 of file old_constant.h.
const double FullPhysics::OldConstant::molar_weight_water = 18.01528 |
Molar weight of water, in g mol^-1.
Definition at line 30 of file old_constant.h.
const double FullPhysics::OldConstant::pi = units::pi |
Definition at line 47 of file old_constant.h.