BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pyConstant.h
Go to the documentation of this file.
1 // -*- Mode: C++; tab-width: 2; -*-
2 // vi: set ts=2:
3 //
4 // $Id: pyConstant.h,v 1.12 2005/12/23 17:01:57 amoll Exp $
5 //
6 
7 #ifndef BALL_PYTHON_PYCONSTANT_H
8 #define BALL_PYTHON_PYCONSTANT_H
9 
10 #ifndef BALL_COMMON_GLOBAL_H
11 # include <BALL/COMMON/global.h>
12 #endif
13 
14 namespace BALL
15 {
16 
21  class Constant
22  {
23  public:
24 
25  // PI
26  static double PI;
27 
29  static double E;
30 
34  static double EPSILON;
38  static double ELEMENTARY_CHARGE; // C
39 
41  static double e0;
42 
46  static double ELECTRON_MASS ; // kg
47 
51  static double PROTON_MASS ; // kg
52 
56  static double NEUTRON_MASS ; // kg
57 
61  static double AVOGADRO;
62 
65  static double NA;
66 
69  static double MOL;
70 
74  static double BOLTZMANN;
75 
78  static double k;
79 
83  static double PLANCK;
84 
87  static double h;
88 
91  static double GAS_CONSTANT;
92 
95  static double R;
96 
99  static double FARADAY;
100 
103  static double F;
104 
108  static double BOHR_RADIUS;
109 
112  static double a0;
113 
114  // the following values from:
115  // P.W.Atkins: Physical Chemistry, 5th ed., Oxford University Press, 1995
116 
120  static double VACUUM_PERMITTIVITY;
121 
125  static double VACUUM_PERMEABILITY;
126 
130  static double SPEED_OF_LIGHT;
131 
134  static double c;
135 
139  static double GRAVITATIONAL_CONSTANT;
140 
144  static double FINE_STRUCTURE_CONSTANT;
145 
149  static double DEG_PER_RAD;
150 
154  static double RAD_PER_DEG;
155 
159  static double MM_PER_INCH ;
160 
164  static double M_PER_FOOT ;
165 
169  static double JOULE_PER_CAL;
170 
174  static double CAL_PER_JOULE;
175  };
176 
177 } // namespace BALL
178 
179 #endif // BALL_PYTHON_PYCONSTANT_H