#include "arts.h"
#include "matpackI.h"
Go to the source code of this file.
Variables | |
const Numeric | EARTH_RADIUS = 6.378e6 |
Global constant, the radius of the Earth [m]. | |
const Numeric | EARTH_EQUATORIAL_RADIUS = 6.378137e6 |
Global constant, the equatorial radius of the Earth [m], from WGS84. | |
const Numeric | EARTH_POLAR_RADIUS = 6.3567523e6 |
Global constant, the polar radius of the Earth [m], from WGS84. | |
const Numeric | RAD2DEG = 57.29577951308232 |
Global constant, conversion from radians to degrees. | |
const Numeric | DEG2RAD = 0.01745329251994 |
Global constant, conversion from degrees to radians. | |
const Numeric | PLANCK_CONST = 6.626180e-34 |
Global constant, the Planck constant [Js]. | |
const Numeric | SPEED_OF_LIGHT = 2.99792458e8 |
Global constant, spped of light in vaccum [m/s]. | |
const Numeric | BOLTZMAN_CONST = 1.380662e-23 |
Global constant, the Boltzmann constant [J/K]. | |
const Numeric | AVOGADROS_NUMB = 6.0220450e26 |
Global constant, the Avogadro's number [molec/kg]. | |
const Numeric | ATOMIC_MASS_UNIT = 1.6606E-27 |
Atomic mass unit, 12th of a C^12_6 atom. | |
const Numeric | COSMIC_BG_TEMP = 2.735 |
Global constant, Planck temperature for cosmic background radiation [K]. | |
const Numeric | SUN_TEMP = 6000.0 |
Global constant, Planck temperature for solar radiation [K]. | |
const Numeric | EULER_NUMBER = 2.7182818284590452 |
Global constant, e (Euler's number). | |
const Numeric | LOG10_EULER_NUMBER = 0.43429448190325176 |
Global constant, log10(Euler's number). | |
const Numeric | NAT_LOG_TEN = 2.3025850929940459 |
Global constant, ln(10). | |
const Numeric | NAT_LOG_2 = 0.69314718055994 |
Global constant, ln(2). | |
const Numeric | SQRT_NAT_LOG_2 = 0.832554611 |
Global constant, sqrt(ln(2)). | |
const Numeric | PI = 3.14159265358979 |
Global constant, pi. | |
const Numeric | ATM2PA = 1.01325e5 |
Global constant, converts atm to Pa. | |
const Numeric | TORR2PA = 133.3227 |
Global constant, converts torr to Pa. | |
const Numeric | TEMP_0_C = 273.15 |
Global constant, Temperature in Celsius of 0 Kelvin. | |
const Numeric | PRES_STAND = 101300.25 |
Global constant, Standard pressure in Pa. | |
const Numeric | LOSCHMIDT_CONST = 2.686763E25 |
Global constant, Loschmidt constant [m^-3]. | |
const Numeric | EARTH_GRAV_CONST = 3.98601E14 |
Global constant, Earth gravitational constant [m^3/s^2]. | |
const Numeric | HZ2CM = 0.01 / SPEED_OF_LIGHT |
Global constant, converts Hz to cm-1. | |
Joker | joker |
Define the global joker objekt. |
You can use them anywhere by declaring them as in the following example:
extern const Numeric PI;
See for example the National Institute of Standards and Technology (NIST) home page for the values of specific constants.
Definition in file constants.cc.
Global constant, converts atm to Pa.
Multiply your value in atm by this constant to get the value in Pa.
const Numeric ATOMIC_MASS_UNIT = 1.6606E-27 |
Atomic mass unit, 12th of a C^12_6 atom.
const Numeric AVOGADROS_NUMB = 6.0220450e26 |
Global constant, the Avogadro's number [molec/kg].
const Numeric BOLTZMAN_CONST = 1.380662e-23 |
Global constant, the Boltzmann constant [J/K].
const Numeric COSMIC_BG_TEMP = 2.735 |
Global constant, Planck temperature for cosmic background radiation [K].
Global constant, conversion from degrees to radians.
Multiply your value in degrees by this constant to get the value in radians.
const Numeric EARTH_EQUATORIAL_RADIUS = 6.378137e6 |
Global constant, the equatorial radius of the Earth [m], from WGS84.
const Numeric EARTH_GRAV_CONST = 3.98601E14 |
Global constant, Earth gravitational constant [m^3/s^2].
const Numeric EARTH_POLAR_RADIUS = 6.3567523e6 |
Global constant, the polar radius of the Earth [m], from WGS84.
const Numeric EARTH_RADIUS = 6.378e6 |
Global constant, the radius of the Earth [m].
const Numeric EULER_NUMBER = 2.7182818284590452 |
Global constant, e (Euler's number).
const Numeric HZ2CM = 0.01 / SPEED_OF_LIGHT |
Global constant, converts Hz to cm-1.
Multiply your value in Hz by this constant to get the value in cm-1.
Define the global joker objekt.
This is used by Matpack to specify joker ranges.
Definition at line 233 of file constants.cc.
const Numeric LOG10_EULER_NUMBER = 0.43429448190325176 |
Global constant, log10(Euler's number).
const Numeric LOSCHMIDT_CONST = 2.686763E25 |
Global constant, Loschmidt constant [m^-3].
const Numeric NAT_LOG_TEN = 2.3025850929940459 |
Global constant, ln(10).
const Numeric PLANCK_CONST = 6.626180e-34 |
Global constant, the Planck constant [Js].
const Numeric PRES_STAND = 101300.25 |
Global constant, Standard pressure in Pa.
Global constant, conversion from radians to degrees.
Multiply your value in radians by this constant to get the value in degrees.
const Numeric SPEED_OF_LIGHT = 2.99792458e8 |
Global constant, spped of light in vaccum [m/s].
const Numeric SQRT_NAT_LOG_2 = 0.832554611 |
Global constant, sqrt(ln(2)).
Global constant, Planck temperature for solar radiation [K].
Global constant, Temperature in Celsius of 0 Kelvin.
Global constant, converts torr to Pa.
Multiply your value in torr by this constant to get the value in Pa.