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;
Motivation
Physical constants should be known with their proper dimensions
Definition at line 154 of file QC.h.
Member Function Documentation
static void casa::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 155 of file QC.h.
Member Data Documentation
Bohr's radius.
Definition at line 207 of file QC.h.
vel of light
Definition at line 162 of file QC.h.
electron charge
Definition at line 180 of file QC.h.
permittivity vacuum
Definition at line 192 of file QC.h.
Faraday.
Definition at line 198 of file QC.h.
Gravitational constant.
Definition at line 165 of file QC.h.
Planck.
Definition at line 168 of file QC.h.
HI line.
Definition at line 171 of file QC.h.
Boltzmann.
Definition at line 195 of file QC.h.
IAU Gaussian grav.
const **2
Definition at line 213 of file QC.h.
mass electron
Definition at line 201 of file QC.h.
proton mass
Definition at line 183 of file QC.h.
mp/me
Definition at line 186 of file QC.h.
permeability vacuum
Definition at line 189 of file QC.h.
Avogadro.
Definition at line 177 of file QC.h.
Gas constant.
Definition at line 174 of file QC.h.
Solar radius.
Definition at line 210 of file QC.h.
radius electron
Definition at line 204 of file QC.h.
The documentation for this class was generated from the following file: