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

Constants.h

Go to the documentation of this file.
00001 // --------------------------------------------------------------------------
00002 //                   OpenMS -- Open-Source Mass Spectrometry
00003 // --------------------------------------------------------------------------
00004 // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
00005 // ETH Zurich, and Freie Universitaet Berlin 2002-2012.
00006 //
00007 // This software is released under a three-clause BSD license:
00008 //  * Redistributions of source code must retain the above copyright
00009 //    notice, this list of conditions and the following disclaimer.
00010 //  * Redistributions in binary form must reproduce the above copyright
00011 //    notice, this list of conditions and the following disclaimer in the
00012 //    documentation and/or other materials provided with the distribution.
00013 //  * Neither the name of any author or any participating institution
00014 //    may be used to endorse or promote products derived from this software
00015 //    without specific prior written permission.
00016 // For a full list of authors, refer to the file AUTHORS.
00017 // --------------------------------------------------------------------------
00018 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00019 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00020 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00021 // ARE DISCLAIMED. IN NO EVENT SHALL ANY OF THE AUTHORS OR THE CONTRIBUTING
00022 // INSTITUTIONS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
00023 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
00024 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
00025 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
00026 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
00027 // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
00028 // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00029 //
00030 // --------------------------------------------------------------------------
00031 // $Maintainer: Stephan Aiche$
00032 // $Authors: Marc Sturm $
00033 // --------------------------------------------------------------------------
00034 
00035 #ifndef OPENMS_CONCEPT_CONSTANTS_H
00036 #define OPENMS_CONCEPT_CONSTANTS_H
00037 
00038 #include <OpenMS/config.h>
00039 
00045 namespace OpenMS
00046 {
00068   namespace Constants
00069   {
00073 
00075     extern OPENMS_DLLAPI const double  PI;
00076 
00078     extern OPENMS_DLLAPI const double  E;
00079 
00083     extern OPENMS_DLLAPI double EPSILON;
00085 
00089 
00093     extern OPENMS_DLLAPI const double   ELEMENTARY_CHARGE;           // C
00094 
00096     extern OPENMS_DLLAPI const double   e0;
00097 
00101     extern OPENMS_DLLAPI const double   ELECTRON_MASS;                   // kg
00102 
00106     extern OPENMS_DLLAPI const double ELECTRON_MASS_U;             // u
00107 
00111     extern OPENMS_DLLAPI const double   PROTON_MASS;                     // kg
00112 
00116     extern OPENMS_DLLAPI const double PROTON_MASS_U;               // u
00117 
00121     extern OPENMS_DLLAPI const double C13C12_MASSDIFF_U;     // u
00122 
00126     extern OPENMS_DLLAPI const double   NEUTRON_MASS;                    // kg
00127 
00131     extern OPENMS_DLLAPI const double NEUTRON_MASS_U;              // u
00132 
00136     extern OPENMS_DLLAPI const double   AVOGADRO;
00137 
00140     extern OPENMS_DLLAPI const double   NA;
00141 
00144     extern OPENMS_DLLAPI const double   MOL;
00145 
00149     extern OPENMS_DLLAPI const double   BOLTZMANN;
00150 
00153     extern OPENMS_DLLAPI const double   k;
00154 
00158     extern OPENMS_DLLAPI const double   PLANCK;
00159 
00162     extern OPENMS_DLLAPI const double   h;
00163 
00166     extern OPENMS_DLLAPI const double   GAS_CONSTANT;
00167 
00170     extern OPENMS_DLLAPI const double R;
00171 
00174     extern OPENMS_DLLAPI const double   FARADAY;
00175 
00178     extern OPENMS_DLLAPI const double   F;
00179 
00183     extern OPENMS_DLLAPI const double   BOHR_RADIUS;
00184 
00187     extern OPENMS_DLLAPI const double   a0;
00188 
00189     //  the following values from:
00190     //  P.W.Atkins: Physical Chemistry, 5th ed., Oxford University Press, 1995
00191 
00195     extern OPENMS_DLLAPI const double   VACUUM_PERMITTIVITY;
00196 
00200     extern OPENMS_DLLAPI const double   VACUUM_PERMEABILITY;
00201 
00205     extern OPENMS_DLLAPI const double   SPEED_OF_LIGHT;
00206 
00209     extern OPENMS_DLLAPI const double   c;
00210 
00214     extern OPENMS_DLLAPI const double   GRAVITATIONAL_CONSTANT;
00215 
00219     extern OPENMS_DLLAPI const double   FINE_STRUCTURE_CONSTANT;
00221 
00225 
00229     extern OPENMS_DLLAPI const double   DEG_PER_RAD;
00230 
00234     extern OPENMS_DLLAPI const double   RAD_PER_DEG;
00235 
00239     extern OPENMS_DLLAPI const double   MM_PER_INCH;
00240 
00244     extern OPENMS_DLLAPI const double   M_PER_FOOT;
00245 
00249     extern OPENMS_DLLAPI const double   JOULE_PER_CAL;
00250 
00254     extern OPENMS_DLLAPI const double   CAL_PER_JOULE;
00255 
00257   }
00258 }
00259 
00260 #endif // OPENMS_CONCEPT_CONSTANTS_H

OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:38 using doxygen 1.7.1