00001 // -*- Mode: C++; tab-width: 2; -*- 00002 // vi: set ts=2: 00003 // 00004 // $Id: pyConstant.h,v 1.12 2005/12/23 17:01:57 amoll Exp $ 00005 // 00006 00007 #ifndef BALL_PYTHON_PYCONSTANT_H 00008 #define BALL_PYTHON_PYCONSTANT_H 00009 00010 #ifndef BALL_COMMON_GLOBAL_H 00011 # include <BALL/COMMON/global.h> 00012 #endif 00013 00014 namespace BALL 00015 { 00016 00021 class Constant 00022 { 00023 public: 00024 00025 // PI 00026 static double PI; 00027 00029 static double E; 00030 00034 static double EPSILON; 00038 static double ELEMENTARY_CHARGE; // C 00039 00041 static double e0; 00042 00046 static double ELECTRON_MASS ; // kg 00047 00051 static double PROTON_MASS ; // kg 00052 00056 static double NEUTRON_MASS ; // kg 00057 00061 static double AVOGADRO; 00062 00065 static double NA; 00066 00069 static double MOL; 00070 00074 static double BOLTZMANN; 00075 00078 static double k; 00079 00083 static double PLANCK; 00084 00087 static double h; 00088 00091 static double GAS_CONSTANT; 00092 00095 static double R; 00096 00099 static double FARADAY; 00100 00103 static double F; 00104 00108 static double BOHR_RADIUS; 00109 00112 static double a0; 00113 00114 // the following values from: 00115 // P.W.Atkins: Physical Chemistry, 5th ed., Oxford University Press, 1995 00116 00120 static double VACUUM_PERMITTIVITY; 00121 00125 static double VACUUM_PERMEABILITY; 00126 00130 static double SPEED_OF_LIGHT; 00131 00134 static double c; 00135 00139 static double GRAVITATIONAL_CONSTANT; 00140 00144 static double FINE_STRUCTURE_CONSTANT; 00145 00149 static double DEG_PER_RAD; 00150 00154 static double RAD_PER_DEG; 00155 00159 static double MM_PER_INCH ; 00160 00164 static double M_PER_FOOT ; 00165 00169 static double JOULE_PER_CAL; 00170 00174 static double CAL_PER_JOULE; 00175 }; 00176 00177 } // namespace BALL 00178 00179 #endif // BALL_PYTHON_PYCONSTANT_H