CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
physical and astronomical constants

Physical and astronomical constants of wide use. More...

Variables

static const double cbl::par::hbar = 1.054571726e-34
 \(\hbar\): the reduced Planck constant, the quantum of action [J s]
 
static const double cbl::par::cc = 299792.458
 \({\it c}\): the speed of light in vacuum (the value is exact) [km/sec]
 
static const double cbl::par::kB = 1.3806488e23
 \({\it k_B}\): the Boltzmann constant, the conversion factor relating temperature and energy [eV K-1]
 
static const double cbl::par::sSB = 5.670373e-8
 \(\sigma_{SB}=\frac{\pi^2k_B^4}{60\hbar^3c^2}\): the Stefan-Boltzmann constant, the factor relating the emissive power of a black body to the fourth power of its temperature [W m-2 K-4]
 
static const double cbl::par::el = 1.602176565e-19
 \({e}\): the electrical charge of the electron [C]
 
static const double cbl::par::alpha = 7.2973525698e-3
 \({\alpha}=\frac{e^2}{\hbar c}\): the fine-structure constant
 
static const double cbl::par::epsilon0 = 8.854187817e-12
 \({\epsilon_0}\): the electric constant (the value is exact) [F/m]
 
static const double cbl::par::mu0 = 12.566370614e-7
 \({\mu_0}\): the magnetic constant (the value is exact) [N A-2]
 
static const double cbl::par::NAv = 6.02214129e23
 \({N_A}\): the Avogadro constant [mol-1]
 
static const double cbl::par::GN = 6.6738480e-11
 \({G_N}\): the Newtonian constant of gravitation [m3 Kg-1 s-2]
 
static const double cbl::par::gn = 9.80665
 \({g_n}\): the standard gravitational acceleration (the value is exact) [m s-2]
 
static const double cbl::par::lP = 1.616199e-35
 \({l_P}=\sqrt{\hbar G_N/c^3}\): the Planck length [m]
 
static const double cbl::par::MP = 2.17651e-8
 \({M_P}=\sqrt{\hbar c/G_N}\): the Planck mass [kg]
 
static const double cbl::par::Msol = 1.98855e30
 \({M_\odot}\): the solar mass [kg]
 
static const double cbl::par::me = 9.10938291e-31
 \({m_e}\): the mass of the electron [kg]
 
static const double cbl::par::mn = 1.674927351e-27
 \({m_n}\): the mass of the neutron [kg]
 
static const double cbl::par::mp = 1.672621777e-27
 \({m_p}\): the mass of the proton [kg]
 
static const double cbl::par::au = 149597870700
 \({au}\): the astronomical unit (the value is exact) [m]
 
static const double cbl::par::pc = 3.0856775814671916e16
 \({pc}\): the parsec, defined as 1au/1arc sec [m]
 
static const double cbl::par::TCMB = 2.72548
 \({T_{CMB}}\): the present day CMB temperature [K]
 
static const double cbl::par::yr = 31557600
 \({yr}\): one year [s]
 

Detailed Description

Physical and astronomical constants of wide use.