casacore::QC Class Reference
Physical constants (i.e. dimensioned values).
More...
#include <QC.h>
List of all members.
Detailed Description
Physical constants (i.e. dimensioned values).
Intended use:
Public interface
Review Status
- Reviewed By:
- UNKNOWN
- Date Reviewed:
- before2004/08/25
- Test programs:
- tQuantum
Prerequisite
Etymology
A QC is based on the Quantum and C (constants) class
Synopsis
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
Example
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;
static Quantum<Double> c;
static Quantum<Double> G;
static Quantum<Double> h;
static Quantum<Double> HI;
static Quantum<Double> R;
static Quantum<Double> NA;
static Quantum<Double> e;
static Quantum<Double> mp;
static Quantum<Double> mp_me;
static Quantum<Double> mu0;
static Quantum<Double> epsilon0;
static Quantum<Double> k;
static Quantum<Double> F;
static Quantum<Double> me;
static Quantum<Double> re;
static Quantum<Double> a0;
static Quantum<Double> R0;
static Quantum<Double> k2;
static Quantum<Double> qTurn;
static Quantum<Double> hTurn;
static Quantum<Double> fTurn;
Motivation
Physical constants should be known with their proper dimensions
Definition at line 163 of file QC.h.
Member Function Documentation
static void casacore::QC::init |
( |
|
) |
[static, private] |
This function is used, in conjunction with the QC_init class to force construction of statics (see ARM 3.4).
Friends And Related Function Documentation
Definition at line 164 of file QC.h.
Member Data Documentation
Bohr's radius.
Definition at line 216 of file QC.h.
vel of light
Definition at line 171 of file QC.h.
electron charge
Definition at line 189 of file QC.h.
permittivity vacuum
Definition at line 201 of file QC.h.
Faraday.
Definition at line 207 of file QC.h.
full turn = 360 degrees = 2pi radians
Definition at line 231 of file QC.h.
Gravitational constant.
Definition at line 174 of file QC.h.
Planck.
Definition at line 177 of file QC.h.
HI line.
Definition at line 180 of file QC.h.
half turn = 180 degrees = pi radians
Definition at line 228 of file QC.h.
Boltzmann.
Definition at line 204 of file QC.h.
IAU Gaussian grav.
const **2
Definition at line 222 of file QC.h.
mass electron
Definition at line 210 of file QC.h.
proton mass
Definition at line 192 of file QC.h.
mp/me
Definition at line 195 of file QC.h.
permeability vacuum
Definition at line 198 of file QC.h.
Avogadro.
Definition at line 186 of file QC.h.
quarter turn = 90 degrees = pi/2 radians
Definition at line 225 of file QC.h.
Gas constant.
Definition at line 183 of file QC.h.
Solar radius.
Definition at line 219 of file QC.h.
radius electron
Definition at line 213 of file QC.h.
The documentation for this class was generated from the following file:
- casacore/casa/Quanta/QC.h