Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

Constants.h (Maintainer: Marc Sturm)

Go to the documentation of this file.
00001 // -*- Mode: C++; tab-width: 2; -*-
00002 // vi: set ts=2:
00003 //
00004 // --------------------------------------------------------------------------
00005 //                   OpenMS Mass Spectrometry Framework 
00006 // --------------------------------------------------------------------------
00007 //  Copyright (C) 2003-2008 -- Oliver Kohlbacher, Knut Reinert
00008 //
00009 //  This library is free software; you can redistribute it and/or
00010 //  modify it under the terms of the GNU Lesser General Public
00011 //  License as published by the Free Software Foundation; either
00012 //  version 2.1 of the License, or (at your option) any later version.
00013 //
00014 //  This library is distributed in the hope that it will be useful,
00015 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017 //  Lesser General Public License for more details.
00018 //
00019 //  You should have received a copy of the GNU Lesser General Public
00020 //  License along with this library; if not, write to the Free Software
00021 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00022 //
00023 // --------------------------------------------------------------------------
00024 // $Maintainer: Marc Sturm $
00025 // --------------------------------------------------------------------------
00026 
00027 #ifndef OPENMS_CONCEPT_CONSTANTS_H
00028 #define OPENMS_CONCEPT_CONSTANTS_H
00029 
00038 namespace OpenMS 
00039 {
00061   namespace Constants 
00062   {
00066 
00068     extern const double  PI;
00069 
00071     extern const double  E;
00072 
00076     extern double EPSILON;
00078       
00082     
00086     extern const double ELEMENTARY_CHARGE;     // C     
00087   
00089     extern const double e0;
00090 
00094     extern const double ELECTRON_MASS     ;      // kg
00095 
00099     extern const double PROTON_MASS       ;      // kg
00100 
00104     extern const double NEUTRON_MASS      ;      // kg
00105 
00109     extern const double AVOGADRO;
00110 
00113     extern const double NA;
00114 
00117     extern const double MOL;
00118 
00122     extern const double BOLTZMANN;
00123 
00126     extern const double k;
00127     
00131     extern const double PLANCK;
00132 
00135     extern const double h;
00136 
00139     extern const double GAS_CONSTANT;
00140 
00143     extern const double R;
00144 
00147     extern const double FARADAY;
00148 
00151     extern const double F;
00152 
00156     extern const double BOHR_RADIUS;
00157 
00160     extern const double a0;
00161 
00162     //  the following values from: 
00163     //  P.W.Atkins: Physical Chemistry, 5th ed., Oxford University Press, 1995
00164 
00168     extern const double VACUUM_PERMITTIVITY;
00169 
00173     extern const double VACUUM_PERMEABILITY;
00174 
00178     extern const double SPEED_OF_LIGHT;
00179 
00182     extern const double c;
00183 
00187     extern const double GRAVITATIONAL_CONSTANT;
00188 
00192     extern const double FINE_STRUCTURE_CONSTANT;
00194 
00198       
00202     extern const double DEG_PER_RAD;
00203 
00207     extern const double RAD_PER_DEG;
00208 
00212     extern const double MM_PER_INCH       ;
00213 
00217     extern const double M_PER_FOOT        ;
00218 
00222     extern const double JOULE_PER_CAL;
00223 
00227     extern const double CAL_PER_JOULE;
00228 
00230   }
00231 }
00232 
00233 #endif // OPENMS_CONCEPT_CONSTANTS_H

Generated Tue Apr 1 15:36:33 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1