ARTS
2.3.1285(git:92a29ea9-dirty)
|
This file contains global constants. More...
Go to the source code of this file.
Variables | |
const Numeric | ATM2PA = 1.01325e5 |
Global constant, converts atm to Pa. More... | |
const Numeric | AVOGADROS_NUMB = Constant::NA |
Global constant, the Avogadro's number [molec/kg]. More... | |
const Numeric | BOHR_MAGNETON = Constant::bohr_magneton |
Bohr Magneton. More... | |
const Numeric | BOLTZMAN_CONST = Constant::k |
Global constant, the Boltzmann constant [J/K]. More... | |
const Numeric | COSMIC_BG_TEMP = 2.735 |
Global constant, Planck temperature for cosmic background radiation [K]. More... | |
const Numeric | DEG2RAD = 0.017453292519943 |
Global constant, conversion from degrees to radians. More... | |
const Numeric | DENSITY_OF_ICE = 0.9167e3 |
Global constant, Density of water ice at 0C [kg/m3]. More... | |
const Numeric | DENSITY_OF_WATER = 1e3 |
Global constant, Density of liquid water +4C [kg/m3]. More... | |
const Numeric | EARTH_RADIUS = 6.3781e6 |
Global constant, the radius of the Earth [m]. More... | |
const Numeric | ELECTRON_CHARGE = -Constant::e |
Global constant, the charge of an electron [As] N.B. More... | |
const Numeric | ELECTRON_MASS = Constant::m_e |
Global constant, the mass of an electron [kg]. More... | |
const Numeric | EULER_NUMBER = 2.7182818284590452 |
Global constant, e (Euler's number) More... | |
const Numeric | GAS_CONSTANT = Constant::R |
Global constant, universal gas constant. More... | |
const Numeric | LANDE_GS = 2.0023193043622 |
Global constant, Lande factor gs. More... | |
const Numeric | LOG10_EULER_NUMBER = 0.43429448190325176 |
Global constant, log10(Euler's number) More... | |
const Numeric | NAT_LOG_TEN = 2.3025850929940459 |
Global constant, ln(10) More... | |
const Numeric | NAT_LOG_2 = 0.69314718055994 |
Global constant, ln(2) More... | |
const Numeric | PI = Constant::pi |
Global constant, pi. More... | |
const Numeric | PLANCK_CONST = Constant::h |
Global constant, the Planck constant [Js]. More... | |
const Numeric | RAD2DEG = 57.295779513082323 |
Global constant, conversion from radians to degrees. More... | |
const Numeric | SPEED_OF_LIGHT = Constant::c |
Global constant, speed of light in vaccum [m/s]. More... | |
const Numeric | HZ2CM = 0.01 / SPEED_OF_LIGHT |
Global constant, converts Hz to cm-1. More... | |
const Numeric | SQRT_NAT_LOG_2 = 0.832554611 |
Global constant, sqrt(ln(2)) More... | |
const Numeric | TEMP_0_C = 273.15 |
Global constant, Temperature in Celsius of 0 Kelvin. More... | |
const Numeric | TORR2PA = 133.3227 |
Global constant, converts torr to Pa. More... | |
const Numeric | VACUUM_PERMITTIVITY = Constant::vacuum_permittivity |
Global constant, the vacuum permittivity [F m-1]. More... | |
const Numeric | DOPPLER_CONST |
const Index | GFIELD1_F_GRID = 0 |
Global constant, Index of the frequency grid in GriddedField1. More... | |
const Index | GFIELD3_P_GRID = 0 |
Global constant, Index of the pressure grid in GriddedField3. More... | |
const Index | GFIELD3_LAT_GRID = 1 |
Global constant, Index of the latitude grid in GriddedField3. More... | |
const Index | GFIELD3_LON_GRID = 2 |
Global constant, Index of the longitude grid in GriddedField3. More... | |
const Index | GFIELD4_FIELD_NAMES = 0 |
Global constant, Index of the field names in GriddedField4. More... | |
const Index | GFIELD4_IA_GRID = 0 |
Global constant, Index of incidence angles in GriddedField4. More... | |
const Index | GFIELD4_P_GRID = 1 |
Global constant, Index of the pressure grid in GriddedField4. More... | |
const Index | GFIELD4_F_GRID = 1 |
Global constant, Index of the frequency grid in GriddedField4. More... | |
const Index | GFIELD4_LAT_GRID = 2 |
Global constant, Index of the latitude grid in GriddedField4. More... | |
const Index | GFIELD4_ZA_GRID = 2 |
Global constant, Index of the zenith angle grid in GriddedField4. More... | |
const Index | GFIELD4_LON_GRID = 3 |
Global constant, Index of the longitude grid in GriddedField4. More... | |
const Index | GFIELD4_AA_GRID = 3 |
Global constant, Index of the azimuth angle grid in GriddedField4. More... | |
const Numeric | LAT_LON_MIN = 20 |
Global constant, minimum distance of cloudbox to lat/lon_grid edges. More... | |
const String | ABSSPECIES_MAINTAG = "Absorption species" |
const String | SCATSPECIES_MAINTAG = "Scattering species" |
const String | PARTICULATES_MAINTAG = "Particulate species" |
const String | ELECTRONS_MAINTAG = "Electron species" |
const String | FREQUENCY_MAINTAG = "Frequency" |
const String | FREQUENCY_SUBTAG_0 = "Shift" |
const String | FREQUENCY_SUBTAG_1 = "Stretch" |
const String | POINTING_MAINTAG = "Sensor pointing" |
const String | POINTING_SUBTAG_A = "Zenith angle off-set" |
const String | POINTING_CALCMODE_A = "Recalculate iyb" |
const String | POINTING_CALCMODE_B = "Interpolate iyb" |
const String | POLYFIT_MAINTAG = "Polynomial baseline fit" |
const String | SINEFIT_MAINTAG = "Sinusoidal baseline fit" |
const String | TEMPERATURE_MAINTAG = "Atmospheric temperatures" |
const String | NLTE_MAINTAG = "NLTE temperatures" |
const String | WIND_MAINTAG = "Wind" |
const String | MAGFIELD_MAINTAG = "Magnetic field" |
const String | FLUX_MAINTAG = "Beam flux" |
const String | SURFACE_MAINTAG = "Surface" |
const String | PROPMAT_SUBSUBTAG = "From propagation matrix" |
const String | CATALOGPARAMETER_MAINTAG = "Catalog parameter" |
const String | LINESTRENGTH_MODE = "Line Strength" |
const String | LINECENTER_MODE = "Line Center" |
const String | SELFBROADENING_MODE = "PB Self Gamma" |
const String | FOREIGNBROADENING_MODE = "PB Foreign Gamma" |
const String | WATERBROADENING_MODE = "PB Water Gamma" |
const String | SELFBROADENINGEXPONENT_MODE = "PB Self Exponent" |
const String | FOREIGNBROADENINGEXPONENT_MODE = "PB Foreign Exponent" |
const String | WATERBROADENINGEXPONENT_MODE = "PB Water Exponent" |
const String | SELFPRESSURESHIFT_MODE = "PB Self Pressure Shift" |
const String | FOREIGNPRESSURESHIFT_MODE = "PB Foreign Pressure Shift" |
const String | WATERPRESSURESHIFT_MODE = "PB Water Pressure Shift" |
const String | LINEMIXINGY0_MODE = "LM Y Zeroth" |
const String | LINEMIXINGG0_MODE = "LM G Zeroth" |
const String | LINEMIXINGDF0_MODE = "LM DF Zeroth" |
const String | LINEMIXINGY1_MODE = "LM Y First" |
const String | LINEMIXINGG1_MODE = "LM G First" |
const String | LINEMIXINGDF1_MODE = "LM DF First" |
const String | LINEMIXINGYEXPONENT_MODE = "LM Y Exponent" |
const String | LINEMIXINGGEXPONENT_MODE = "LM G Exponent" |
const String | LINEMIXINGDFEXPONENT_MODE = "LM DF Exponent" |
This file contains global constants.
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.
const String ABSSPECIES_MAINTAG = "Absorption species" |
const Numeric ATM2PA = 1.01325e5 |
Global constant, converts atm to Pa.
Multiply your value in atm by this constant to get the value in Pa.
Referenced by Conversion::atm2pa(), and Conversion::freq2wavelen().
const Numeric AVOGADROS_NUMB = Constant::NA |
Global constant, the Avogadro's number [molec/kg].
Referenced by PrintPhysicalConstants().
const Numeric BOHR_MAGNETON = Constant::bohr_magneton |
const Numeric BOLTZMAN_CONST = Constant::k |
Global constant, the Boltzmann constant [J/K].
Referenced by LineFunctions::apply_dipole(), LineFunctions::apply_linestrength_from_full_linemixing(), LineFunctions::apply_rosenkranz_quadratic(), LineFunctions::apply_VVH(), boltzman_ratio(), dabsorption_nlte_rate_dF0(), dabsorption_nlte_rate_dT(), dabsorption_nlte_rate_dTl(), dabsorption_nlte_rate_dTu(), dboltzman_ratio_dT(), dstimulated_relative_emission_dF0(), dstimulated_relative_emission_dT(), lineshape_norm_quadratic_Rosenkranz(), lineshape_norm_quadratic_Rosenkranz_dF(), lineshape_norm_quadratic_Rosenkranz_dF0(), lineshape_norm_quadratic_Rosenkranz_dT(), lineshape_norm_VVH(), lineshape_norm_VVH_dF(), lineshape_norm_VVH_dF0(), lineshape_norm_VVH_dT(), MCIPA(), nlte_collision_factorsCalcFromCoeffs(), partial_derivatives_lineshape_dependency(), PrintPhysicalConstants(), setCji(), test_K1_and_K2(), and xsec_continuum_tag().
const String CATALOGPARAMETER_MAINTAG = "Catalog parameter" |
const Numeric COSMIC_BG_TEMP = 2.735 |
Global constant, Planck temperature for cosmic background radiation [K].
const Numeric DEG2RAD = 0.017453292519943 |
Global constant, conversion from degrees to radians.
Multiply your value in degrees by this constant to get the value in radians.
Referenced by defocusing_general(), defocusing_sat2sat(), dotprod_with_los(), lon_crossing_3d(), raytrace_1d_linear_basic(), sorted_index_of_ppath_field(), and za_geom2other_point().
const Numeric DENSITY_OF_ICE = 0.9167e3 |
Global constant, Density of water ice at 0C [kg/m3].
source: http://en.wikipedia.org/wiki/Ice
const Numeric DENSITY_OF_WATER = 1e3 |
Global constant, Density of liquid water +4C [kg/m3].
source: http://en.wikipedia.org/wiki/Water
const Numeric DOPPLER_CONST |
Referenced by PrintPhysicalConstants(), and test_lineshape().
const Numeric EARTH_RADIUS = 6.3781e6 |
Global constant, the radius of the Earth [m].
const Numeric ELECTRON_CHARGE = -Constant::e |
Global constant, the charge of an electron [As] N.B.
this is a negative number.
Referenced by PrintPhysicalConstants().
const Numeric ELECTRON_MASS = Constant::m_e |
Global constant, the mass of an electron [kg].
Referenced by PrintPhysicalConstants().
const String ELECTRONS_MAINTAG = "Electron species" |
const Numeric EULER_NUMBER = 2.7182818284590452 |
Global constant, e (Euler's number)
const String FLUX_MAINTAG = "Beam flux" |
const String FOREIGNBROADENING_MODE = "PB Foreign Gamma" |
const String FOREIGNBROADENINGEXPONENT_MODE = "PB Foreign Exponent" |
const String FOREIGNPRESSURESHIFT_MODE = "PB Foreign Pressure Shift" |
const String FREQUENCY_MAINTAG = "Frequency" |
const String FREQUENCY_SUBTAG_0 = "Shift" |
const String FREQUENCY_SUBTAG_1 = "Stretch" |
const Numeric GAS_CONSTANT = Constant::R |
const Index GFIELD1_F_GRID = 0 |
Global constant, Index of the frequency grid in GriddedField1.
const Index GFIELD3_LAT_GRID = 1 |
Global constant, Index of the latitude grid in GriddedField3.
const Index GFIELD3_LON_GRID = 2 |
Global constant, Index of the longitude grid in GriddedField3.
const Index GFIELD3_P_GRID = 0 |
Global constant, Index of the pressure grid in GriddedField3.
const Index GFIELD4_AA_GRID = 3 |
Global constant, Index of the azimuth angle grid in GriddedField4.
const Index GFIELD4_F_GRID = 1 |
Global constant, Index of the frequency grid in GriddedField4.
const Index GFIELD4_FIELD_NAMES = 0 |
Global constant, Index of the field names in GriddedField4.
const Index GFIELD4_IA_GRID = 0 |
Global constant, Index of incidence angles in GriddedField4.
const Index GFIELD4_LAT_GRID = 2 |
Global constant, Index of the latitude grid in GriddedField4.
const Index GFIELD4_LON_GRID = 3 |
Global constant, Index of the longitude grid in GriddedField4.
const Index GFIELD4_P_GRID = 1 |
Global constant, Index of the pressure grid in GriddedField4.
const Index GFIELD4_ZA_GRID = 2 |
Global constant, Index of the zenith angle grid in GriddedField4.
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.
Referenced by chi_cousin().
const Numeric LANDE_GS = 2.0023193043622 |
Global constant, Lande factor gs.
source: http://en.wikipedia.org/wiki/G-factor_%28physics%29#Measured_g-factor_values
const Numeric LAT_LON_MIN = 20 |
Global constant, minimum distance of cloudbox to lat/lon_grid edges.
const String LINECENTER_MODE = "Line Center" |
const String LINEMIXINGDF0_MODE = "LM DF Zeroth" |
const String LINEMIXINGDF1_MODE = "LM DF First" |
const String LINEMIXINGDFEXPONENT_MODE = "LM DF Exponent" |
const String LINEMIXINGG0_MODE = "LM G Zeroth" |
const String LINEMIXINGG1_MODE = "LM G First" |
const String LINEMIXINGGEXPONENT_MODE = "LM G Exponent" |
const String LINEMIXINGY0_MODE = "LM Y Zeroth" |
const String LINEMIXINGY1_MODE = "LM Y First" |
const String LINEMIXINGYEXPONENT_MODE = "LM Y Exponent" |
const String LINESTRENGTH_MODE = "Line Strength" |
const Numeric LOG10_EULER_NUMBER = 0.43429448190325176 |
Global constant, log10(Euler's number)
const String MAGFIELD_MAINTAG = "Magnetic field" |
const Numeric NAT_LOG_2 = 0.69314718055994 |
Global constant, ln(2)
const Numeric NAT_LOG_TEN = 2.3025850929940459 |
Global constant, ln(10)
const String NLTE_MAINTAG = "NLTE temperatures" |
const String PARTICULATES_MAINTAG = "Particulate species" |
const Numeric PI = Constant::pi |
Global constant, pi.
Referenced by calcSingleScatteringDataProperties(), faddeeva_algorithm_916(), hartmann_tran_lineshape(), hui_etal_1978_lineshape(), integrate_phamat_theta0_phi10(), integrate_phamat_theta0_phi_alpha6(), lineshape_CO2_lorentz(), lineshape_doppler(), lineshape_lorentz(), lineshape_mirrored_lorentz(), lineshape_o2nonresonant(), lineshape_voigt_drayson(), lineshape_voigt_kuntz6(), LineFunctions::set_faddeeva_algorithm916(), LineFunctions::set_faddeeva_from_full_linemixing(), LineFunctions::set_htp(), LineFunctions::set_hui_etal_1978(), LineFunctions::set_lorentz(), LineFunctions::set_mirrored_lorentz(), LineFunctions::set_o2_non_resonant(), and ze_cfac().
const Numeric PLANCK_CONST = Constant::h |
Global constant, the Planck constant [Js].
Referenced by LineFunctions::apply_dipole(), LineFunctions::apply_linestrength_from_full_linemixing(), LineFunctions::apply_rosenkranz_quadratic(), LineFunctions::apply_VVH(), createBij(), dabsorption_nlte_rate_dF0(), dabsorption_nlte_rate_dT(), dstimulated_relative_emission_dF0(), dstimulated_relative_emission_dT(), lineshape_norm_quadratic_Rosenkranz(), lineshape_norm_quadratic_Rosenkranz_dF(), lineshape_norm_quadratic_Rosenkranz_dF0(), lineshape_norm_quadratic_Rosenkranz_dT(), lineshape_norm_VVH(), lineshape_norm_VVH_dF(), lineshape_norm_VVH_dF0(), lineshape_norm_VVH_dT(), partial_derivatives_lineshape_dependency(), PrintPhysicalConstants(), setCji(), and test_K1_and_K2().
const String POINTING_CALCMODE_A = "Recalculate iyb" |
const String POINTING_CALCMODE_B = "Interpolate iyb" |
const String POINTING_MAINTAG = "Sensor pointing" |
const String POINTING_SUBTAG_A = "Zenith angle off-set" |
const String POLYFIT_MAINTAG = "Polynomial baseline fit" |
const String PROPMAT_SUBSUBTAG = "From propagation matrix" |
const Numeric RAD2DEG = 57.295779513082323 |
Global constant, conversion from radians to degrees.
Multiply your value in radians by this constant to get the value in degrees.
Referenced by cart2sph(), lon_crossing_3d(), Sample_los(), Sample_los_uniform(), and za_geom2other_point().
const String SCATSPECIES_MAINTAG = "Scattering species" |
const String SINEFIT_MAINTAG = "Sinusoidal baseline fit" |
const Numeric SPEED_OF_LIGHT = Constant::c |
Global constant, speed of light in vaccum [m/s].
const Numeric SQRT_NAT_LOG_2 = 0.832554611 |
Global constant, sqrt(ln(2))
const String SURFACE_MAINTAG = "Surface" |
const Numeric TEMP_0_C = 273.15 |
Global constant, Temperature in Celsius of 0 Kelvin.
const String TEMPERATURE_MAINTAG = "Atmospheric temperatures" |
const Numeric TORR2PA = 133.3227 |
Global constant, converts torr to Pa.
Multiply your value in torr by this constant to get the value in Pa.
const Numeric VACUUM_PERMITTIVITY = Constant::vacuum_permittivity |
Global constant, the vacuum permittivity [F m-1].
The constant is also know the permittivity of free space or electric constant.
Referenced by PrintPhysicalConstants().
const String WATERBROADENING_MODE = "PB Water Gamma" |
const String WATERBROADENINGEXPONENT_MODE = "PB Water Exponent" |
const String WATERPRESSURESHIFT_MODE = "PB Water Pressure Shift" |
const String WIND_MAINTAG = "Wind" |