![]() |
CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
|
The namespace of the global parameters and constants More...
Variables | |
static const double | yotta = 1.e24 |
conversion factor | |
static const double | zetta = 1.e21 |
conversion factor | |
static const double | exa = 1.e18 |
conversion factor | |
static const double | peta = 1.e15 |
conversion factor | |
static const double | tera = 1.e12 |
conversion factor | |
static const double | giga = 1.e9 |
conversion factor | |
static const double | mega = 1.e6 |
conversion factor | |
static const double | kilo = 1.e3 |
conversion factor | |
static const double | ecto = 1.e2 |
conversion factor | |
static const double | deca = 10. |
conversion factor | |
static const double | deci = 1.e-1 |
conversion factor | |
static const double | centi = 1.e-2 |
conversion factor | |
static const double | milli = 1.e-3 |
conversion factor | |
static const double | micro = 1.e-6 |
conversion factor | |
static const double | nano = 1.e-9 |
conversion factor | |
static const double | pico = 1.e-12 |
conversion factor | |
static const double | femto = 1.e-15 |
conversion factor | |
static const double | atto = 1.e-18 |
conversion factor | |
static const double | zepto = 1.e-21 |
conversion factor | |
static const double | yocto = 1.e-24 |
conversion factor | |
static const char | fINT [] = "%i" |
conversion symbol for: int -> std::string | |
static const char | fLONG [] = "%lli" |
conversion symbol for: long -> std::string | |
static const char | fDP0 [] = "%1.0f" |
conversion symbol for: double -> std::string | |
static const char | fDP1 [] = "%2.1f" |
conversion symbol for: double -> std::string | |
static const char | fDP2 [] = "%3.2f" |
conversion symbol for: double -> std::string | |
static const char | fDP3 [] = "%4.3f" |
conversion symbol for: double -> std::string | |
static const char | fDP4 [] = "%5.4f" |
conversion symbol for: double -> std::string | |
static const char | fDP5 [] = "%6.5f" |
conversion symbol for: double -> std::string | |
static const char | fDP6 [] = "%7.6f" |
conversion symbol for: double -> std::string | |
static const char | fDP7 [] = "%8.7f" |
conversion symbol for: double -> std::string | |
static const char | fDP8 [] = "%9.8f" |
conversion symbol for: double -> std::string | |
static const char | fDP9 [] = "%10.9f" |
conversion symbol for: double -> std::string | |
static const char | fDP10 [] = "%11.10f" |
conversion symbol for: double -> std::string | |
static const char | ee3 [] = "%4.3e" |
conversion symbol for: double -> std::string | |
static const char | ee4 [] = "%5.4e" |
conversion symbol for: double -> std::string | |
static const char | ee5 [] = "%6.5e" |
conversion symbol for: double -> std::string | |
static const char | ee6 [] = "%7.6e" |
conversion symbol for: double -> std::string | |
static const char | ee7 [] = "%8.7e" |
conversion symbol for: double -> std::string | |
static const char | ee8 [] = "%9.8e" |
conversion symbol for: double -> std::string | |
static const char | ee9 [] = "%10.9e" |
conversion symbol for: double -> std::string | |
static const char | ee10 [] = "%11.10e" |
conversion symbol for: double -> std::string | |
static const double | pi = 3.1415926535897932 |
\(\pi\): the ratio of a circle's circumference to its diameter | |
static const double | ee = 2.7182818284590452 |
e: the Euler's constant, defined as \(\lim_{n \to \infty}\left(1+\frac{1}{n}\right)^n\) | |
static const double | hbar = 1.054571726e-34 |
\(\hbar\): the reduced Planck constant, the quantum of action [J s] | |
static const double | cc = 299792.458 |
\({\it c}\): the speed of light in vacuum (the value is exact) [km/sec] | |
static const double | kB = 1.3806488e23 |
\({\it k_B}\): the Boltzmann constant, the conversion factor relating temperature and energy [eV K-1] | |
static const double | 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 | el = 1.602176565e-19 |
\({e}\): the electrical charge of the electron [C] | |
static const double | alpha = 7.2973525698e-3 |
\({\alpha}=\frac{e^2}{\hbar c}\): the fine-structure constant | |
static const double | epsilon0 = 8.854187817e-12 |
\({\epsilon_0}\): the electric constant (the value is exact) [F/m] | |
static const double | mu0 = 12.566370614e-7 |
\({\mu_0}\): the magnetic constant (the value is exact) [N A-2] | |
static const double | NAv = 6.02214129e23 |
\({N_A}\): the Avogadro constant [mol-1] | |
static const double | GN = 6.6738480e-11 |
\({G_N}\): the Newtonian constant of gravitation [m3 Kg-1 s-2] | |
static const double | gn = 9.80665 |
\({g_n}\): the standard gravitational acceleration (the value is exact) [m s-2] | |
static const double | lP = 1.616199e-35 |
\({l_P}=\sqrt{\hbar G_N/c^3}\): the Planck length [m] | |
static const double | MP = 2.17651e-8 |
\({M_P}=\sqrt{\hbar c/G_N}\): the Planck mass [kg] | |
static const double | Msol = 1.98855e30 |
\({M_\odot}\): the solar mass [kg] | |
static const double | me = 9.10938291e-31 |
\({m_e}\): the mass of the electron [kg] | |
static const double | mn = 1.674927351e-27 |
\({m_n}\): the mass of the neutron [kg] | |
static const double | mp = 1.672621777e-27 |
\({m_p}\): the mass of the proton [kg] | |
static const double | au = 149597870700 |
\({au}\): the astronomical unit (the value is exact) [m] | |
static const double | pc = 3.0856775814671916e16 |
\({pc}\): the parsec, defined as 1au/1arc sec [m] | |
static const double | TCMB = 2.72548 |
\({T_{CMB}}\): the present day CMB temperature [K] | |
static const double | yr = 31557600 |
\({yr}\): one year [s] | |
static const std::string | col_default = "\033[0m" |
default colour (used when printing something on the screen) | |
static const std::string | col_red = "\033[0;31m" |
red colour (used when printing something on the screen) | |
static const std::string | col_bred = "\033[1;91m" |
bold high intensty red colour (used when printing something on the screen) | |
static const std::string | col_onred = "\033[41m" |
background red colour (used when printing something on the screen) | |
static const std::string | col_green = "\033[0;32m" |
green colour (used when printing something on the screen) | |
static const std::string | col_blue = "\033[0;34m" |
blue colour (used when printing something on the screen) | |
static const std::string | col_yellow = "\033[0;33m" |
yellow colour (used when printing something on the screen) | |
static const std::string | col_purple = "\033[0;35m" |
purple colour (used when printing something on the screen) | |
static const std::string | defaultString = "NULL" |
default std::string value | |
static const int | defaultInt = std::numeric_limits<int>::min() |
default integer value | |
static const long | defaultLong = std::numeric_limits<long>::min() |
default long value | |
static const float | defaultFloat = -std::numeric_limits<float>::max() |
default float value | |
static const double | defaultDouble = -std::numeric_limits<double>::max() |
default double value | |
static const std::string | ErrorMsg |
header of error messages for internal usage More... | |
The namespace of the global parameters and constants
The cblpar namespace contains the global parameters and the mathematical, physical and astronomical constants