casacore
|
Physical constants (i.e. dimensioned values) More...
#include <QC.h>
Static Public Attributes | |
static Quantum< Double > | c |
vel of light More... | |
static Quantum< Double > | G |
Gravitational constant. More... | |
static Quantum< Double > | h |
Planck. More... | |
static Quantum< Double > | HI |
HI line. More... | |
static Quantum< Double > | R |
Gas constant. More... | |
static Quantum< Double > | NA |
Avogadro. More... | |
static Quantum< Double > | e |
electron charge More... | |
static Quantum< Double > | mp |
proton mass More... | |
static Quantum< Double > | mp_me |
mp/me More... | |
static Quantum< Double > | mu0 |
permeability vacuum More... | |
static Quantum< Double > | epsilon0 |
permittivity vacuum More... | |
static Quantum< Double > | k |
Boltzmann. More... | |
static Quantum< Double > | F |
Faraday. More... | |
static Quantum< Double > | me |
mass electron More... | |
static Quantum< Double > | re |
radius electron More... | |
static Quantum< Double > | a0 |
Bohr's radius. More... | |
static Quantum< Double > | R0 |
Solar radius. More... | |
static Quantum< Double > | k2 |
IAU Gaussian grav. More... | |
static Quantum< Double > | qTurn |
quarter turn = 90 degrees = pi/2 radians More... | |
static Quantum< Double > | hTurn |
half turn = 180 degrees = pi radians More... | |
static Quantum< Double > | fTurn |
full turn = 360 degrees = 2pi radians More... | |
Static Private Member Functions | |
static void | init () |
This function is used, in conjunction with the QC_init class to force construction of statics (see ARM 3.4). More... | |
Friends | |
class | QC_init |
Physical constants (i.e. dimensioned values)
Public interface
A QC is based on the Quantum and C (constants) class
QC:name will produce a Quantity (Quantum<Double>) value consisting of a value and a unit. See the Quantum class for possibilities of manipulating quanta. tQuantum will give a list of the currently available constants
To obtain the velocity of light in pc/a, use:
The following constants are defined as public data members of class QC.
Caution: The following public data member documentation is currently extracted by hand, and thus could be out of date if this documentation was not updated when the class was modified;
Physical constants should be known with their proper dimensions
|
staticprivate |
This function is used, in conjunction with the QC_init class to force construction of statics (see ARM 3.4).