constants.h

Go to the documentation of this file.
00001 // -*- Mode: C++; tab-width: 2; -*-
00002 // vi: set ts=2:
00003 //
00004 // $Id: constants.h,v 1.15 2005/12/23 17:01:38 amoll Exp $
00005 //
00006 
00007 #ifndef BALL_COMMON_CONSTANTS_H
00008 #define BALL_COMMON_CONSTANTS_H
00009 
00010 #ifndef BALL_COMMON_GLOBAL_H
00011 # include <BALL/COMMON/global.h>
00012 #endif
00013 
00014 namespace BALL 
00015 {
00016 
00030   namespace Constants 
00031   {
00035 
00037     BALL_EXTERN_VARIABLE const double  PI;
00038 
00040     BALL_EXTERN_VARIABLE const double  E;
00041 
00045     BALL_EXTERN_VARIABLE double EPSILON;
00047       
00051     
00055     BALL_EXTERN_VARIABLE const double ELEMENTARY_CHARGE;     // C     
00056   
00058     BALL_EXTERN_VARIABLE const double e0;
00059 
00063     BALL_EXTERN_VARIABLE const double ELECTRON_MASS     ;      // kg
00064 
00068     BALL_EXTERN_VARIABLE const double PROTON_MASS       ;      // kg
00069 
00073     BALL_EXTERN_VARIABLE const double NEUTRON_MASS      ;      // kg
00074 
00078     BALL_EXTERN_VARIABLE const double AVOGADRO;
00079 
00082     BALL_EXTERN_VARIABLE const double NA;
00083 
00086     BALL_EXTERN_VARIABLE const double MOL;
00087 
00091     BALL_EXTERN_VARIABLE const double BOLTZMANN;
00092 
00095     BALL_EXTERN_VARIABLE const double k;
00096     
00100     BALL_EXTERN_VARIABLE const double PLANCK;
00101 
00104     BALL_EXTERN_VARIABLE const double h;
00105 
00108     BALL_EXTERN_VARIABLE const double GAS_CONSTANT;
00109 
00112     BALL_EXTERN_VARIABLE const double R;
00113 
00116     BALL_EXTERN_VARIABLE const double FARADAY;
00117 
00120     BALL_EXTERN_VARIABLE const double F;
00121 
00125     BALL_EXTERN_VARIABLE const double BOHR_RADIUS;
00126 
00129     BALL_EXTERN_VARIABLE const double a0;
00130 
00131     //  the following values from: 
00132     //  P.W.Atkins: Physical Chemistry, 5th ed., Oxford University Press, 1995
00133 
00137     BALL_EXTERN_VARIABLE const double VACUUM_PERMITTIVITY;
00138 
00142     BALL_EXTERN_VARIABLE const double VACUUM_PERMEABILITY;
00143 
00147     BALL_EXTERN_VARIABLE const double SPEED_OF_LIGHT;
00148 
00151     BALL_EXTERN_VARIABLE const double c;
00152 
00156     BALL_EXTERN_VARIABLE const double GRAVITATIONAL_CONSTANT;
00157 
00161     BALL_EXTERN_VARIABLE const double FINE_STRUCTURE_CONSTANT;
00163 
00167       
00171     BALL_EXTERN_VARIABLE const double DEG_PER_RAD;
00172 
00176     BALL_EXTERN_VARIABLE const double RAD_PER_DEG;
00177 
00181     BALL_EXTERN_VARIABLE const double MM_PER_INCH       ;
00182 
00186     BALL_EXTERN_VARIABLE const double M_PER_FOOT        ;
00187 
00191     BALL_EXTERN_VARIABLE const double JOULE_PER_CAL;
00192 
00196     BALL_EXTERN_VARIABLE const double CAL_PER_JOULE;
00197 
00199   }
00200 }
00201 
00202 #endif // BALL_COMMON_CONSTANTS_H