ARTS  1.0.222
constants.cc
Go to the documentation of this file.
1 /* Copyright (C) 2000, 2001 Stefan Buehler <sbuehler@uni-bremen.de>
2  Patrick Eriksson <patrick@rss.chalmers.se>
3 
4  This program is free software; you can redistribute it and/or modify it
5  under the terms of the GNU General Public License as published by the
6  Free Software Foundation; either version 2, or (at your option) any
7  later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program; if not, write to the Free Software
16  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
17  USA. */
18 
19 
20 
22 // File description
24 
42 // External declarations
45 
46 #include "arts.h"
47 #include "matpackI.h"
48 
49 
51 // The constants
53 
58 extern const Numeric EARTH_RADIUS = 6.378e6;
59 
65 extern const Numeric EARTH_EQUATORIAL_RADIUS = 6.378137e6;
66 
72 extern const Numeric EARTH_POLAR_RADIUS = 6.3567523e6;
73 
82 extern const Numeric RAD2DEG = 57.29577951308232;
83 
92 extern const Numeric DEG2RAD = 0.01745329251994;
93 
98 extern const Numeric PLANCK_CONST = 6.626180e-34;
99 
104 extern const Numeric SPEED_OF_LIGHT = 2.99792458e8;
105 
110 extern const Numeric BOLTZMAN_CONST = 1.380662e-23;
111 
116 extern const Numeric AVOGADROS_NUMB = 6.0220450e26;
117 
122 extern const Numeric ATOMIC_MASS_UNIT = 1.6606E-27;
123 
128 extern const Numeric COSMIC_BG_TEMP = 2.735;
129 
134 extern const Numeric SUN_TEMP = 6000.0;
135 
140 // reference: http://thesapps.com/Doug/exp/
141 extern const Numeric EULER_NUMBER = 2.7182818284590452;
142 
147 extern const Numeric LOG10_EULER_NUMBER = 0.43429448190325176;
148 
153 extern const Numeric NAT_LOG_TEN = 2.3025850929940459;
154 
159 extern const Numeric NAT_LOG_2 = 0.69314718055994;
160 
165 extern const Numeric SQRT_NAT_LOG_2 = 0.832554611;
166 
171 extern const Numeric PI = 3.14159265358979;
172 
180 extern const Numeric ATM2PA = 1.01325e5;
181 
189 extern const Numeric TORR2PA = 133.3227;
190 
196 extern const Numeric TEMP_0_C = 273.15;
197 
203 extern const Numeric PRES_STAND = 101300.25;
204 
210 extern const Numeric LOSCHMIDT_CONST = 2.686763E25;
211 
217 extern const Numeric EARTH_GRAV_CONST = 3.98601E14;
218 
226 extern const Numeric HZ2CM = 0.01 / SPEED_OF_LIGHT;
227 
234 
EARTH_GRAV_CONST
const Numeric EARTH_GRAV_CONST
Global constant, Earth gravitational constant [m^3/s^2].
AVOGADROS_NUMB
const Numeric AVOGADROS_NUMB
Global constant, the Avogadro's number [molec/kg].
EARTH_RADIUS
const Numeric EARTH_RADIUS
Global constant, the radius of the Earth [m].
RAD2DEG
const Numeric RAD2DEG
Global constant, conversion from radians to degrees.
PLANCK_CONST
const Numeric PLANCK_CONST
Global constant, the Planck constant [Js].
EARTH_POLAR_RADIUS
const Numeric EARTH_POLAR_RADIUS
Global constant, the polar radius of the Earth [m], from WGS84.
COSMIC_BG_TEMP
const Numeric COSMIC_BG_TEMP
Global constant, Planck temperature for cosmic background radiation [K].
PRES_STAND
const Numeric PRES_STAND
Global constant, Standard pressure in Pa.
DEG2RAD
const Numeric DEG2RAD
Global constant, conversion from degrees to radians.
EARTH_EQUATORIAL_RADIUS
const Numeric EARTH_EQUATORIAL_RADIUS
Global constant, the equatorial radius of the Earth [m], from WGS84.
NAT_LOG_2
const Numeric NAT_LOG_2
Global constant, ln(2)
joker
Joker joker
Define the global joker objekt.
Definition: constants.cc:233
matpackI.h
TORR2PA
const Numeric TORR2PA
Global constant, converts torr to Pa.
ATOMIC_MASS_UNIT
const Numeric ATOMIC_MASS_UNIT
Atomic mass unit, 12th of a C^12_6 atom.
Numeric
NUMERIC Numeric
The type to use for all floating point numbers.
Definition: arts.h:147
SPEED_OF_LIGHT
const Numeric SPEED_OF_LIGHT
Global constant, spped of light in vaccum [m/s].
EULER_NUMBER
const Numeric EULER_NUMBER
Global constant, e (Euler's number)
ATM2PA
const Numeric ATM2PA
Global constant, converts atm to Pa.
SUN_TEMP
const Numeric SUN_TEMP
Global constant, Planck temperature for solar radiation [K].
TEMP_0_C
const Numeric TEMP_0_C
Global constant, Temperature in Celsius of 0 Kelvin.
LOG10_EULER_NUMBER
const Numeric LOG10_EULER_NUMBER
Global constant, log10(Euler's number)
Joker
Implementation of Matrix, Vector, and such stuff.
Definition: matpackI.h:111
HZ2CM
const Numeric HZ2CM
Global constant, converts Hz to cm-1.
LOSCHMIDT_CONST
const Numeric LOSCHMIDT_CONST
Global constant, Loschmidt constant [m^-3].
NAT_LOG_TEN
const Numeric NAT_LOG_TEN
Global constant, ln(10)
SQRT_NAT_LOG_2
const Numeric SQRT_NAT_LOG_2
Global constant, sqrt(ln(2))
PI
const Numeric PI
Global constant, pi.
BOLTZMAN_CONST
const Numeric BOLTZMAN_CONST
Global constant, the Boltzmann constant [J/K].
arts.h
The global header file for ARTS.