00001 // -*- Mode: C++; tab-width: 2; -*- 00002 // vi: set ts=2: 00003 // 00004 00005 #ifndef BALL_COMMON_CONSTANTS_H 00006 #define BALL_COMMON_CONSTANTS_H 00007 00008 #ifndef BALL_COMMON_GLOBAL_H 00009 # include <BALL/COMMON/global.h> 00010 #endif 00011 00012 namespace BALL 00013 { 00014 00028 namespace Constants 00029 { 00033 00035 BALL_EXTERN_VARIABLE const double PI; 00036 00038 BALL_EXTERN_VARIABLE const double E; 00039 00043 BALL_EXTERN_VARIABLE double EPSILON; 00045 00049 00053 BALL_EXTERN_VARIABLE const double ELEMENTARY_CHARGE; // C 00054 00056 BALL_EXTERN_VARIABLE const double e0; 00057 00061 BALL_EXTERN_VARIABLE const double ELECTRON_MASS; // kg 00062 00066 BALL_EXTERN_VARIABLE const double PROTON_MASS; // kg 00067 00071 BALL_EXTERN_VARIABLE const double NEUTRON_MASS; // kg 00072 00076 BALL_EXTERN_VARIABLE const double AVOGADRO; 00077 00080 BALL_EXTERN_VARIABLE const double NA; 00081 00084 BALL_EXTERN_VARIABLE const double MOL; 00085 00089 BALL_EXTERN_VARIABLE const double BOLTZMANN; 00090 00093 BALL_EXTERN_VARIABLE const double k; 00094 00098 BALL_EXTERN_VARIABLE const double PLANCK; 00099 00102 BALL_EXTERN_VARIABLE const double h; 00103 00106 BALL_EXTERN_VARIABLE const double GAS_CONSTANT; 00107 00110 BALL_EXTERN_VARIABLE const double R; 00111 00114 BALL_EXTERN_VARIABLE const double FARADAY; 00115 00118 BALL_EXTERN_VARIABLE const double F; 00119 00123 BALL_EXTERN_VARIABLE const double BOHR_RADIUS; 00124 00127 BALL_EXTERN_VARIABLE const double a0; 00128 00129 // the following values from: 00130 // P.W.Atkins: Physical Chemistry, 5th ed., Oxford University Press, 1995 00131 00135 BALL_EXTERN_VARIABLE const double VACUUM_PERMITTIVITY; 00136 00140 BALL_EXTERN_VARIABLE const double VACUUM_PERMEABILITY; 00141 00145 BALL_EXTERN_VARIABLE const double SPEED_OF_LIGHT; 00146 00149 BALL_EXTERN_VARIABLE const double c; 00150 00154 BALL_EXTERN_VARIABLE const double GRAVITATIONAL_CONSTANT; 00155 00159 BALL_EXTERN_VARIABLE const double FINE_STRUCTURE_CONSTANT; 00161 00165 00169 BALL_EXTERN_VARIABLE const double DEG_PER_RAD; 00170 00174 BALL_EXTERN_VARIABLE const double RAD_PER_DEG; 00175 00179 BALL_EXTERN_VARIABLE const double MM_PER_INCH; 00180 00184 BALL_EXTERN_VARIABLE const double M_PER_FOOT; 00185 00189 BALL_EXTERN_VARIABLE const double JOULE_PER_CAL; 00190 00194 BALL_EXTERN_VARIABLE const double CAL_PER_JOULE; 00195 00197 } 00198 } 00199 00200 #endif // BALL_COMMON_CONSTANTS_H