60 static const double yotta = 1.e24;
63 static const double zetta = 1.e21;
66 static const double exa = 1.e18;
69 static const double peta = 1.e15;
72 static const double tera = 1.e12;
75 static const double giga = 1.e9;
78 static const double mega = 1.e6;
81 static const double kilo = 1.e3;
84 static const double ecto = 1.e2;
87 static const double deca = 10.;
90 static const double deci = 1.e-1;
93 static const double centi = 1.e-2;
96 static const double milli = 1.e-3;
99 static const double micro = 1.e-6;
102 static const double nano = 1.e-9;
105 static const double pico = 1.e-12;
111 static const double atto = 1.e-18;
121 static const char fINT[] =
"%i";
127 static const char fDP0[] =
"%1.0f";
130 static const char fDP1[] =
"%2.1f";
133 static const char fDP2[] =
"%3.2f";
136 static const char fDP3[] =
"%4.3f";
139 static const char fDP4[] =
"%5.4f";
142 static const char fDP5[] =
"%6.5f";
145 static const char fDP6[] =
"%7.6f";
148 static const char fDP7[] =
"%8.7f";
151 static const char fDP8[] =
"%9.8f";
154 static const char fDP9[] =
"%10.9f";
157 static const char fDP10[] =
"%11.10f";
160 static const char ee3[] =
"%4.3e";
163 static const char ee4[] =
"%5.4e";
166 static const char ee5[] =
"%6.5e";
169 static const char ee6[] =
"%7.6e";
172 static const char ee7[] =
"%8.7e";
175 static const char ee8[] =
"%9.8e";
178 static const char ee9[] =
"%10.9e";
181 static const char ee10[] =
"%11.10e";
199 static const double pi = 3.1415926535897932;
202 static const double ee = 2.7182818284590452;
218 static const double hbar = 1.054571726e-34;
221 static const double cc = 299792.458;
224 static const double kB = 1.3806488e23;
227 static const double sSB = 5.670373e-8;
230 static const double el = 1.602176565e-19;
233 static const double alpha = 7.2973525698e-3;
239 static const double mu0 = 12.566370614e-7;
242 static const double NAv = 6.02214129e23;
245 static const double GN = 6.6738480e-11;
248 static const double gn = 9.80665;
251 static const double lP = 1.616199e-35;
254 static const double MP = 2.17651e-8;
257 static const double Msol = 1.98855e30;
260 static const double me = 9.10938291e-31;
263 static const double mn = 1.674927351e-27;
266 static const double mp = 1.672621777e-27;
269 static const double au = 149597870700;
272 static const double pc = 3.0856775814671916e16;
275 static const double TCMB = 2.72548;
278 static const double yr = 31557600;
300 static const std::string
col_red =
"\033[0;31m";
339 static const int defaultInt = std::numeric_limits<int>::min();
369 " ================================== " +
col_default +
"\n\n";
static const std::string col_green
green colour (used when printing something on the screen)
static const std::string col_red
red colour (used when printing something on the screen)
static const std::string col_default
default colour (used when printing something on the screen)
static const std::string col_yellow
yellow colour (used when printing something on the screen)
static const std::string col_onred
background red colour (used when printing something on the screen)
static const std::string col_bred
bold high intensty red colour (used when printing something on the screen)
static const std::string col_blue
blue colour (used when printing something on the screen)
static const std::string col_purple
purple colour (used when printing something on the screen)
static const char fDP6[]
conversion symbol for: double -> std::string
static const double mega
conversion factor
static const double yotta
conversion factor
static const double peta
conversion factor
static const char fDP0[]
conversion symbol for: double -> std::string
static const char fDP2[]
conversion symbol for: double -> std::string
static const char fDP4[]
conversion symbol for: double -> std::string
static const double deci
conversion factor
static const double deca
conversion factor
static const double yocto
conversion factor
static const char ee9[]
conversion symbol for: double -> std::string
static const char fDP1[]
conversion symbol for: double -> std::string
static const char fDP8[]
conversion symbol for: double -> std::string
static const char ee8[]
conversion symbol for: double -> std::string
static const char ee3[]
conversion symbol for: double -> std::string
static const char fDP3[]
conversion symbol for: double -> std::string
static const double giga
conversion factor
static const char ee10[]
conversion symbol for: double -> std::string
static const double ecto
conversion factor
static const double tera
conversion factor
static const char fDP5[]
conversion symbol for: double -> std::string
static const double milli
conversion factor
static const char ee4[]
conversion symbol for: double -> std::string
static const char ee5[]
conversion symbol for: double -> std::string
static const double centi
conversion factor
static const char fDP10[]
conversion symbol for: double -> std::string
static const char ee7[]
conversion symbol for: double -> std::string
static const char fINT[]
conversion symbol for: int -> std::string
static const double nano
conversion factor
static const double femto
conversion factor
static const char fDP7[]
conversion symbol for: double -> std::string
static const char fDP9[]
conversion symbol for: double -> std::string
static const double kilo
conversion factor
static const double zetta
conversion factor
static const double pico
conversion factor
static const double micro
conversion factor
static const double zepto
conversion factor
static const char fLONG[]
conversion symbol for: long -> std::string
static const double atto
conversion factor
static const char ee6[]
conversion symbol for: double -> std::string
static const double exa
conversion factor
static const std::string defaultString
default std::string value
static const long defaultLong
default long value
static const double defaultDouble
default double value
static const int defaultInt
default integer value
static const float defaultFloat
default float value
static const double pi
: the ratio of a circle's circumference to its diameter
static const double ee
e: the Euler's constant, defined as
static const std::string ErrorMsg
header of error messages for internal usage
static const double mn
: the mass of the neutron [kg]
static const double alpha
: the fine-structure constant
static const double epsilon0
: the electric constant (the value is exact) [F/m]
static const double kB
: the Boltzmann constant, the conversion factor relating temperature and energy [eV K-1]
static const double MP
: the Planck mass [kg]
static const double hbar
: the reduced Planck constant, the quantum of action [J s]
static const double sSB
: the Stefan-Boltzmann constant, the factor relating the emissive power of a black body to the fourth...
static const double pc
: the parsec, defined as 1au/1arc sec [m]
static const double GN
: the Newtonian constant of gravitation [m3 Kg-1 s-2]
static const double NAv
: the Avogadro constant [mol-1]
static const double cc
: the speed of light in vacuum (the value is exact) [km/sec]
static const double me
: the mass of the electron [kg]
static const double au
: the astronomical unit (the value is exact) [m]
static const double yr
: one year [s]
static const double Msol
: the solar mass [kg]
static const double el
: the electrical charge of the electron [C]
static const double gn
: the standard gravitational acceleration (the value is exact) [m s-2]
static const double mu0
: the magnetic constant (the value is exact) [N A-2]
static const double TCMB
: the present day CMB temperature [K]
static const double lP
: the Planck length [m]
static const double mp
: the mass of the proton [kg]
The global namespace of the CosmoBolognaLib