BALL::Constant Class Reference
[Python extensions]

#include <BALL/PYTHON/pyConstant.h>

List of all members.

Static Public Attributes

static double PI
static double E
 Euler's number - base of the natural logarithm.
static double EPSILON
static double ELEMENTARY_CHARGE
static double e0
 Elementary charge (alias).
static double ELECTRON_MASS
static double PROTON_MASS
static double NEUTRON_MASS
static double AVOGADRO
static double NA
static double MOL
static double BOLTZMANN
static double k
static double PLANCK
static double h
static double GAS_CONSTANT
static double R
static double FARADAY
static double F
static double BOHR_RADIUS
static double a0
static double VACUUM_PERMITTIVITY
static double VACUUM_PERMEABILITY
static double SPEED_OF_LIGHT
static double c
static double GRAVITATIONAL_CONSTANT
static double FINE_STRUCTURE_CONSTANT
static double DEG_PER_RAD
static double RAD_PER_DEG
static double MM_PER_INCH
static double M_PER_FOOT
static double JOULE_PER_CAL
static double CAL_PER_JOULE

Detailed Description

Python constants namespace wrapper. This class is a wrapper for the constants namespace.

Definition at line 21 of file pyConstant.h.


Member Data Documentation

Bohr radius (alias)

Definition at line 112 of file pyConstant.h.

Avogadro constant. In units of $mol^{-1}$ ($6.0221367 \cdot 10^{23} mol^{-1}$).

Definition at line 61 of file pyConstant.h.

Bohr radius. In units m ($5.29177249 \cdot 10^{-11}$ m).

Definition at line 108 of file pyConstant.h.

Boltzmann constant. In units of J/K ($1.380657 \cdot 10^{-23}$ J/K).

Definition at line 74 of file pyConstant.h.

Speed of Light (alias)

Definition at line 134 of file pyConstant.h.

Calories per Joule. 1/JOULE_PER_CAL

Definition at line 174 of file pyConstant.h.

Degree per rad. 57.2957795130823209

Definition at line 149 of file pyConstant.h.

Euler's number - base of the natural logarithm.

Definition at line 29 of file pyConstant.h.

Elementary charge (alias).

Definition at line 41 of file pyConstant.h.

Electron mass. In units of kg ($9.1093897 \cdot 10^{-31}$ kg).

Definition at line 46 of file pyConstant.h.

Elementary charge. In units of C ($1.60217738 \cdot 10^{-19} C$).

Definition at line 38 of file pyConstant.h.

Internal theshold for equality comparisons. Default value is 1e-6.

Definition at line 34 of file pyConstant.h.

Faraday constant (alias)

Definition at line 103 of file pyConstant.h.

Faraday constant (= NA * e0)

Definition at line 99 of file pyConstant.h.

Fine structure constant. Without unit ($7.29735 \cdot 10^{-3}$).

Definition at line 144 of file pyConstant.h.

Gas constant (= NA * k)

Definition at line 91 of file pyConstant.h.

Gravitational constant. In units of $Nm^2kg^{-2}$ ($6.67259 \cdot 10^{-11} Nm^2kg^{-2}$).

Definition at line 139 of file pyConstant.h.

Planck constant (alias)

Definition at line 87 of file pyConstant.h.

Joules per calorie. 4.184

Definition at line 169 of file pyConstant.h.

Boltzmann constant (alias)

Definition at line 78 of file pyConstant.h.

m per foot. 3.048

Definition at line 164 of file pyConstant.h.

mm per inch. 25.4

Definition at line 159 of file pyConstant.h.

Avogadro constant (alias)

Definition at line 69 of file pyConstant.h.

Avogadro constant (alias)

Definition at line 65 of file pyConstant.h.

Neutron mass. In units of kg ($1.6749286 \cdot 10^{-27}$ kg).

Definition at line 56 of file pyConstant.h.

Definition at line 26 of file pyConstant.h.

Planck constant. In units of Js ($6.6260754 \cdot 10^{-34}$ Js).

Definition at line 83 of file pyConstant.h.

Proton mass. In units of kg ($1.6726230 \cdot 10^{-27}$ kg).

Definition at line 51 of file pyConstant.h.

Gas constant (alias)

Definition at line 95 of file pyConstant.h.

Rad per degree. 0.0174532925199432957

Definition at line 154 of file pyConstant.h.

Speed of light. In units of m/s ($2.99792458 \cdot 10^8 ms^{-1}$).

Definition at line 130 of file pyConstant.h.

Vacuum permeability. In units of $Js^2C^{-2}m^{-1}$ ($4\pi \cdot 10^{-7} Js^2C^{-2}m^{-1}$).

Definition at line 125 of file pyConstant.h.

Vacuum permittivity. In units of $C^2J^{-1}m^{-1}$ ($8.85419 10^{-12} C^2J^{-1}m^{-1}$).

Definition at line 120 of file pyConstant.h.

Generated by  doxygen 1.6.3