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