#include <pyConstant.h>
Static Public Attributes | |
| double | PI |
| double | E |
| Euler's number - base of the natural logarithm. | |
| double | EPSILON |
| Internal theshold for equality comparisons. | |
| double | ELEMENTARY_CHARGE |
| Elementary charge. | |
| double | e0 |
| Elementary charge (alias). | |
| double | ELECTRON_MASS |
| Electron mass. | |
| double | PROTON_MASS |
| Proton mass. | |
| double | NEUTRON_MASS |
| Neutron mass. | |
| double | AVOGADRO |
| Avogadro constant. | |
| double | NA |
| Avogadro constant (alias). | |
| double | MOL |
| Avogadro constant (alias). | |
| double | BOLTZMANN |
| Boltzmann constant. | |
| double | k |
| Boltzmann constant (alias). | |
| double | PLANCK |
| Planck constant. | |
| double | h |
| Planck constant (alias). | |
| double | GAS_CONSTANT |
| Gas constant (= NA * k). | |
| double | R |
| Gas constant (alias). | |
| double | FARADAY |
| Faraday constant (= NA * e0). | |
| double | F |
| Faraday constant (alias). | |
| double | BOHR_RADIUS |
| Bohr radius. | |
| double | a0 |
| Bohr radius (alias). | |
| double | VACUUM_PERMITTIVITY |
| Vacuum permittivity. | |
| double | VACUUM_PERMEABILITY |
| Vacuum permeability. | |
| double | SPEED_OF_LIGHT |
| Speed of light. | |
| double | c |
| Speed of Light (alias). | |
| double | GRAVITATIONAL_CONSTANT |
| Gravitational constant. | |
| double | FINE_STRUCTURE_CONSTANT |
| Fine structure constant. | |
| double | DEG_PER_RAD |
| Degree per rad. | |
| double | RAD_PER_DEG |
| Rad per degree. | |
| double | MM_PER_INCH |
| mm per inch. | |
| double | M_PER_FOOT |
| m per foot. | |
| double | JOULE_PER_CAL |
| Joules per calorie. | |
| double | CAL_PER_JOULE |
| Calories per Joule. | |
This class is a wrapper for the constants namespace.
|
|
Avogadro constant.
In units of |
|
|
Bohr radius.
In units m ( |
|
|
Boltzmann constant.
In units of J/K ( |
|
|
Calories per Joule. 1/JOULE_PER_CAL |
|
|
Degree per rad. 57.2957795130823209 |
|
|
Electron mass.
In units of kg ( |
|
|
Elementary charge.
In units of C ( |
|
|
Internal theshold for equality comparisons. Default value is 1e-6. |
|
|
Fine structure constant.
Without unit ( |
|
|
Gravitational constant.
In units of |
|
|
Joules per calorie. 4.184 |
|
|
m per foot. 3.048 |
|
|
mm per inch. 25.4 |
|
|
Neutron mass.
In units of kg ( |
|
|
Planck constant.
In units of Js ( |
|
|
Proton mass.
In units of kg ( |
|
|
Rad per degree. 0.0174532925199432957 |
|
|
Speed of light.
In units of m/s ( |
|
|
Vacuum permeability.
In units of |
|
|
Vacuum permittivity. In units of $C^2J^{-1}m^{-1}$ ($8.85419 10^{-12} C^2J^{-1}m^{-1}$). |