casacore
|
Physical constants (i.e. dimensioned values) More...
#include <QC.h>
Static Public Member Functions | |
static const Quantum< Double > & | c () |
vel of light More... | |
static const Quantum< Double > & | G () |
Gravitational constant. More... | |
static const Quantum< Double > & | h () |
Planck. More... | |
static const Quantum< Double > & | HI () |
HI line. More... | |
static Quantum< Double > & | R () |
Gas constant. More... | |
static const Quantum< Double > & | NA () |
Avogadro. More... | |
static const Quantum< Double > & | e () |
electron charge More... | |
static const Quantum< Double > & | mp () |
proton mass More... | |
static const Quantum< Double > & | mp_me () |
mp/me More... | |
static const Quantum< Double > & | mu0 () |
permeability vacuum More... | |
static const Quantum< Double > & | epsilon0 () |
permittivity vacuum More... | |
static const Quantum< Double > & | k () |
Boltzmann. More... | |
static const Quantum< Double > & | F () |
Faraday. More... | |
static const Quantum< Double > & | me () |
mass electron More... | |
static const Quantum< Double > & | re () |
radius electron More... | |
static const Quantum< Double > & | a0 () |
Bohr's radius. More... | |
static const Quantum< Double > & | R0 () |
Solar radius. More... | |
static const Quantum< Double > & | k2 () |
IAU Gaussian grav. More... | |
static const Quantum< Double > & | qTurn () |
quarter turn = 90 degrees = pi/2 radians More... | |
static const Quantum< Double > & | hTurn () |
half turn = 180 degrees = pi radians More... | |
static const Quantum< Double > & | fTurn () |
full turn = 360 degrees = 2pi radians 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
permittivity vacuum
Definition at line 230 of file QC.h.
References casacore::C::c, e(), and casacore::C::pi.