BALL  1.4.79
 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
static double NA
Definition: pyConstant.h:65
static double JOULE_PER_CAL
Definition: pyConstant.h:169
static double VACUUM_PERMITTIVITY
Definition: pyConstant.h:120
static double FARADAY
Definition: pyConstant.h:99
static double R
Definition: pyConstant.h:95
static double BOHR_RADIUS
Definition: pyConstant.h:108
static double DEG_PER_RAD
Definition: pyConstant.h:149
static double EPSILON
Definition: pyConstant.h:34
static double PI
Definition: pyConstant.h:26
static double M_PER_FOOT
Definition: pyConstant.h:164
static double a0
Definition: pyConstant.h:112
static double c
Definition: pyConstant.h:134
static double FINE_STRUCTURE_CONSTANT
Definition: pyConstant.h:144
static double NEUTRON_MASS
Definition: pyConstant.h:56
static double e0
Elementary charge (alias)
Definition: pyConstant.h:41
static double BOLTZMANN
Definition: pyConstant.h:74
static double E
Euler's number - base of the natural logarithm.
Definition: pyConstant.h:29
static double MM_PER_INCH
Definition: pyConstant.h:159
static double PROTON_MASS
Definition: pyConstant.h:51
static double GRAVITATIONAL_CONSTANT
Definition: pyConstant.h:139
static double SPEED_OF_LIGHT
Definition: pyConstant.h:130
static double AVOGADRO
Definition: pyConstant.h:61
static double VACUUM_PERMEABILITY
Definition: pyConstant.h:125
static double MOL
Definition: pyConstant.h:69
static double PLANCK
Definition: pyConstant.h:83
static double ELECTRON_MASS
Definition: pyConstant.h:46
static double k
Definition: pyConstant.h:78
static double ELEMENTARY_CHARGE
Definition: pyConstant.h:38
static double F
Definition: pyConstant.h:103
static double GAS_CONSTANT
Definition: pyConstant.h:91
static double RAD_PER_DEG
Definition: pyConstant.h:154
static double h
Definition: pyConstant.h:87
static double CAL_PER_JOULE
Definition: pyConstant.h:174