Line | |
---|
1 | #ifndef CONSTCOSMO_SEEN
|
---|
2 | #define CONSTCOSMO_SEEN
|
---|
3 |
|
---|
4 | static const double SpeedOfLight_Cst = 299792.458; // speed of light "km/sec"
|
---|
5 | static const double G_Newton_Cst = 6.6742e-11; // G_N in SI units "m^3 / kg /s^2"
|
---|
6 | static const double h_Planck_Cst = 6.6260693e-34; // Planck constant SI units "J s"
|
---|
7 | static const double k_Boltzman_Cst = 1.3806503e-23; // Boltzman constant SI "J / K"
|
---|
8 | // Sigma = 2*PI^5*K^4/(15.*C^2*H^3) = PI^2*K^4/(60.*Hbar^3*C2)
|
---|
9 | static const double StefBoltz_Cst = 5.670400e-8; // constante de Stefan-Boltzman in "W/m^2/K^4"
|
---|
10 | static const double Zeta_3_Cst = 1.2020569031595942854; // Zeta(3)
|
---|
11 |
|
---|
12 | static const double YeartoSec_Cst = 31556925.2; // 1 year into seconds
|
---|
13 | static const double MpctoMeters_Cst = 3.0856e+22; // 1 Mpc into meters
|
---|
14 | static const double LightYear_Cst = 9.46073042e+15; // 1 Light-Year into "m"
|
---|
15 | static const double Jansky2Watt_cst = 1.e-26; // 1 Jansky into "Watt/m^2/Hz == J/m^2"
|
---|
16 | static const double SolarMass_Cst = 1.98844e+33; // 1 Solar mass into "g"
|
---|
17 | // GCm3toMsolMpc3_Cst = (MpctoMeters_Cst*100)^3 / SolarMass_Cst
|
---|
18 | static const double GCm3toMsolMpc3_Cst = 1.477428208143872e+40; // 1 g/cm^3 into 1 Msol/Mpc^3
|
---|
19 | static const double ProtonMass_Cst = 1.67262171e-24; // 1 "proton mass" in "g"
|
---|
20 | static const double Deg2Rad_Cst = (M_PI/180.); // 1 deg into rad
|
---|
21 | // 4 PI sr = 180/Pi * 2 * 360 = 360^2/Pi -> deg^2 * 4*(Pi/360)^2 = sr
|
---|
22 | static const double Deg2toSr_Cst = M_PI*M_PI/32400.; // 1 deg^2 into steradian: 4*(Pi/360)^2
|
---|
23 |
|
---|
24 | static const double T_CMB_Par = 2.725; // temperature du CMB en "K"
|
---|
25 | static const double T_NU_Par = 1.9; // temperature des neutrinos en "K"
|
---|
26 | static const double Fr_HyperFin_Par = 1.420405751786; // frequence de la raie hyperfine HI en "GHz"
|
---|
27 |
|
---|
28 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.