Variables | |
Mathematical constants. | |
BALL_EXTERN_VARIABLE const double | PI |
PI. | |
BALL_EXTERN_VARIABLE const double | E |
Euler's number - base of the natural logarithm. | |
BALL_EXTERN_VARIABLE double | EPSILON |
Chemical/physical constants. | |
BALL_EXTERN_VARIABLE const double | ELEMENTARY_CHARGE |
BALL_EXTERN_VARIABLE const double | e0 |
Elementary charge (alias). | |
BALL_EXTERN_VARIABLE const double | ELECTRON_MASS |
BALL_EXTERN_VARIABLE const double | PROTON_MASS |
BALL_EXTERN_VARIABLE const double | NEUTRON_MASS |
BALL_EXTERN_VARIABLE const double | AVOGADRO |
BALL_EXTERN_VARIABLE const double | NA |
BALL_EXTERN_VARIABLE const double | MOL |
BALL_EXTERN_VARIABLE const double | BOLTZMANN |
BALL_EXTERN_VARIABLE const double | k |
BALL_EXTERN_VARIABLE const double | PLANCK |
BALL_EXTERN_VARIABLE const double | h |
BALL_EXTERN_VARIABLE const double | GAS_CONSTANT |
BALL_EXTERN_VARIABLE const double | R |
BALL_EXTERN_VARIABLE const double | FARADAY |
BALL_EXTERN_VARIABLE const double | F |
BALL_EXTERN_VARIABLE const double | BOHR_RADIUS |
BALL_EXTERN_VARIABLE const double | a0 |
BALL_EXTERN_VARIABLE const double | VACUUM_PERMITTIVITY |
BALL_EXTERN_VARIABLE const double | VACUUM_PERMEABILITY |
BALL_EXTERN_VARIABLE const double | SPEED_OF_LIGHT |
BALL_EXTERN_VARIABLE const double | c |
BALL_EXTERN_VARIABLE const double | GRAVITATIONAL_CONSTANT |
BALL_EXTERN_VARIABLE const double | FINE_STRUCTURE_CONSTANT |
Conversion factors | |
BALL_EXTERN_VARIABLE const double | DEG_PER_RAD |
BALL_EXTERN_VARIABLE const double | RAD_PER_DEG |
BALL_EXTERN_VARIABLE const double | MM_PER_INCH |
BALL_EXTERN_VARIABLE const double | M_PER_FOOT |
BALL_EXTERN_VARIABLE const double | JOULE_PER_CAL |
BALL_EXTERN_VARIABLE const double | CAL_PER_JOULE |
The constants namespace. This namespace contains definitions for some basic mathematical and physical constants. All constants are double precision.
float my_pi = BALL::Constants::PI
using directive
: using namespace BALL::Constants;
float my_pi = PI;
BALL_EXTERN_VARIABLE const double BALL::Constants::a0 |
Bohr radius (alias)
Definition at line 127 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::AVOGADRO |
Avogadro constant. In units of ().
Definition at line 76 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::BOHR_RADIUS |
Bohr radius. In units m ( m).
Definition at line 123 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::BOLTZMANN |
Boltzmann constant. In units of J/K ( J/K).
Definition at line 89 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::c |
Speed of Light (alias)
Definition at line 149 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::CAL_PER_JOULE |
Calories per Joule. 1/JOULE_PER_CAL
Definition at line 194 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::DEG_PER_RAD |
Degree per rad. 57.2957795130823209
Definition at line 169 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::E |
Euler's number - base of the natural logarithm.
Definition at line 38 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::e0 |
Elementary charge (alias).
Definition at line 56 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::ELECTRON_MASS |
Electron mass. In units of kg ( kg).
Definition at line 61 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::ELEMENTARY_CHARGE |
Elementary charge. In units of C ().
Definition at line 53 of file constants.h.
BALL_EXTERN_VARIABLE double BALL::Constants::EPSILON |
Internal theshold for equality comparisons. Default value is 1e-6.
Definition at line 43 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::F |
Faraday constant (alias)
Definition at line 118 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::FARADAY |
Faraday constant (= NA * e0)
Definition at line 114 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::FINE_STRUCTURE_CONSTANT |
Fine structure constant. Without unit ().
Definition at line 159 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::GAS_CONSTANT |
Gas constant (= NA * k)
Definition at line 106 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::GRAVITATIONAL_CONSTANT |
Gravitational constant. In units of ().
Definition at line 154 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::h |
Planck constant (alias)
Definition at line 102 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::JOULE_PER_CAL |
Joules per calorie. 4.184
Definition at line 189 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::k |
Boltzmann constant (alias)
Definition at line 93 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::M_PER_FOOT |
m per foot. 3.048
Definition at line 184 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::MM_PER_INCH |
mm per inch. 25.4
Definition at line 179 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::MOL |
Avogadro constant (alias)
Definition at line 84 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::NA |
Avogadro constant (alias)
Definition at line 80 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::NEUTRON_MASS |
Neutron mass. In units of kg ( kg).
Definition at line 71 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::PI |
PI.
Definition at line 35 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::PLANCK |
Planck constant. In units of Js ( Js).
Definition at line 98 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::PROTON_MASS |
Proton mass. In units of kg ( kg).
Definition at line 66 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::R |
Gas constant (alias)
Definition at line 110 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::RAD_PER_DEG |
Rad per degree. 0.0174532925199432957
Definition at line 174 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::SPEED_OF_LIGHT |
Speed of light. In units of m/s ().
Definition at line 145 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::VACUUM_PERMEABILITY |
Vacuum permeability. In units of ().
Definition at line 140 of file constants.h.
BALL_EXTERN_VARIABLE const double BALL::Constants::VACUUM_PERMITTIVITY |
Vacuum permittivity. In units of ().
Definition at line 135 of file constants.h.