BALL::Constant Class Reference
[Python extensions]

Python constants namespace wrapper. More...

#include <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
Internal theshold for equality comparisons.
static double ELEMENTARY_CHARGE
Elementary charge.
static double e0
Elementary charge (alias).
static double ELECTRON_MASS
Electron mass.
static double PROTON_MASS
Proton mass.
static double NEUTRON_MASS
Neutron mass.
static double AVOGADRO
Avogadro constant.
static double NA
Avogadro constant (alias).
static double MOL
Avogadro constant (alias).
static double BOLTZMANN
Boltzmann constant.
static double k
Boltzmann constant (alias).
static double PLANCK
Planck constant.
static double h
Planck constant (alias).
static double GAS_CONSTANT
Gas constant (= NA * k).
static double R
Gas constant (alias).
static double FARADAY
Faraday constant (= NA * e0).
static double F
Faraday constant (alias).
static double BOHR_RADIUS
Bohr radius.
static double a0
Bohr radius (alias).
static double VACUUM_PERMITTIVITY
Vacuum permittivity.
static double VACUUM_PERMEABILITY
Vacuum permeability.
static double SPEED_OF_LIGHT
Speed of light.
static double c
Speed of Light (alias).
static double GRAVITATIONAL_CONSTANT
Gravitational constant.
static double FINE_STRUCTURE_CONSTANT
Fine structure constant.
static double DEG_PER_RAD
Degree per rad.
static double RAD_PER_DEG
Rad per degree.
static double MM_PER_INCH
mm per inch.
static double M_PER_FOOT
m per foot.
static double JOULE_PER_CAL
Joules per calorie.
static double CAL_PER_JOULE
Calories per Joule.

Detailed Description

Python constants namespace wrapper.

This class is a wrapper for the constants namespace.


Member Data Documentation

double BALL::Constant::AVOGADRO [static]

Avogadro constant.

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

Bohr radius.

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

Boltzmann constant.

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

Calories per Joule.

1/JOULE_PER_CAL

Degree per rad.

57.2957795130823209

Electron mass.

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

Elementary charge.

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

double BALL::Constant::EPSILON [static]

Internal theshold for equality comparisons.

Default value is 1e-6.

Fine structure constant.

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

Gravitational constant.

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

Joules per calorie.

4.184

m per foot.

3.048

mm per inch.

25.4

Neutron mass.

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

double BALL::Constant::PLANCK [static]

Planck constant.

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

Proton mass.

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

Rad per degree.

0.0174532925199432957

Speed of light.

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

Vacuum permeability.

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

Vacuum permittivity.

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


Generated on Thu Aug 6 18:30:40 2009 for BALL by doxygen 1.5.8