casa
$Rev:20696$
|
Physical constants (i.e. dimensioned values) More...
#include <QC.h>
Static Public Attributes | |
static Quantum< Double > | c |
vel of light | |
static Quantum< Double > | G |
Gravitational constant. | |
static Quantum< Double > | h |
Planck. | |
static Quantum< Double > | HI |
HI line. | |
static Quantum< Double > | R |
Gas constant. | |
static Quantum< Double > | NA |
Avogadro. | |
static Quantum< Double > | e |
electron charge | |
static Quantum< Double > | mp |
proton mass | |
static Quantum< Double > | mp_me |
mp/me | |
static Quantum< Double > | mu0 |
permeability vacuum | |
static Quantum< Double > | epsilon0 |
permittivity vacuum | |
static Quantum< Double > | k |
Boltzmann. | |
static Quantum< Double > | F |
Faraday. | |
static Quantum< Double > | me |
mass electron | |
static Quantum< Double > | re |
radius electron | |
static Quantum< Double > | a0 |
Bohr's radius. | |
static Quantum< Double > | R0 |
Solar radius. | |
static Quantum< Double > | k2 |
IAU Gaussian grav. | |
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). | |
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:
#include <casa/Quanta.h> Double vel_pcpy = (C::c).convert("pc/a").getValue();
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;
// vel of light static Quantum<Double> c; // Gravitational constant static Quantum<Double> G; // Planck static Quantum<Double> h; // HI line static Quantum<Double> HI; // Gas constant static Quantum<Double> R; // Avogadro static Quantum<Double> NA; // electron charge static Quantum<Double> e; // proton mass static Quantum<Double> mp; // mp/me static Quantum<Double> mp_me; // permeability vacuum static Quantum<Double> mu0; // permittivity vacuum static Quantum<Double> epsilon0; // Boltzmann static Quantum<Double> k; // Faraday static Quantum<Double> F; // mass electron static Quantum<Double> me; // radius electron static Quantum<Double> re; // Bohr's radius static Quantum<Double> a0; // Solar radius static Quantum<Double> R0; // IAU Gaussian grav. const **2 static Quantum<Double> k2;
Physical constants should be known with their proper dimensions
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).
Quantum<Double> casa::QC::a0 [static] |
Quantum<Double> casa::QC::c [static] |
Quantum<Double> casa::QC::e [static] |
Quantum<Double> casa::QC::epsilon0 [static] |
Quantum<Double> casa::QC::F [static] |
Quantum<Double> casa::QC::G [static] |
Quantum<Double> casa::QC::h [static] |
Quantum<Double> casa::QC::HI [static] |
Quantum<Double> casa::QC::k [static] |
Quantum<Double> casa::QC::k2 [static] |
Quantum<Double> casa::QC::me [static] |
Quantum<Double> casa::QC::mp [static] |
Quantum<Double> casa::QC::mp_me [static] |
Quantum<Double> casa::QC::mu0 [static] |
Quantum<Double> casa::QC::NA [static] |
Quantum<Double> casa::QC::R [static] |
Quantum<Double> casa::QC::R0 [static] |
Quantum<Double> casa::QC::re [static] |