Commit fb1f7e80 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Updated the physical constants to the recommended PDG 2019 values.

parent 574d1b2f
......@@ -32,10 +32,10 @@
* Of special interest if the value of G which is 0.03% different from the
* default value adopted by Gadget-2 (G = 6.672e-8).
*
* All values are taken from C. Patrignani et al. (Particle Data Group), Chin.
* Phys. C, 40, 100001 (2016) and 2017 update.
* http://pdg.lbl.gov/2017/reviews/rpp2017-rev-phys-constants.pdf
* http://pdg.lbl.gov/2017/reviews/rpp2017-rev-astrophysical-constants.pdf
* All values are taken from M. Tanabashi et al. (Particle Data Group),
* Phys. Rev. D 98, 030001 (2018) and 2019 update.
* http://pdg.lbl.gov/2019/reviews/rpp2018-rev-phys-constants.pdf
* http://pdg.lbl.gov/2019/reviews/rpp2018-rev-astrophysical-constants.pdf
*
* The primordial Helium fraction is the value obtained by WMAP7.
*
......@@ -51,7 +51,7 @@ const double const_newton_G_cgs = 6.672e-8;
#else
/*! Newton's gravitation constant [g^-1 cm^3 s^-2] */
const double const_newton_G_cgs = 6.67408e-8;
const double const_newton_G_cgs = 6.67430e-8;
#endif
......@@ -59,37 +59,37 @@ const double const_newton_G_cgs = 6.67408e-8;
const double const_speed_light_c_cgs = 2.99792458e10;
/*! Planck's constant [g cm^2 s^-1] */
const double const_planck_h_cgs = 6.626070040e-27;
const double const_planck_h_cgs = 6.62607015e-27;
/*! Planck's reduced constant [g cm^2 s^-1] */
const double const_planck_hbar_cgs = 1.054571800e-27;
const double const_planck_hbar_cgs = 1.054571817e-27;
/*! Boltzmann's constant [g cm^2 s^-2 K^-1] */
const double const_boltzmann_k_cgs = 1.38064852e-16;
const double const_boltzmann_k_cgs = 1.380649e-16;
/*! Avogadro number [-] */
const double const_avogadro_number_cgs = 6.022140857e23;
const double const_avogadro_number_cgs = 6.02214076e23;
/*! Thomson cross-section [cm^2] */
const double const_thomson_cross_section_cgs = 6.6524587158e-25;
const double const_thomson_cross_section_cgs = 6.6524587321e-25;
/*! Stefan-Boltzmann constant [g s^-3 K^-4] */
const double const_stefan_boltzmann_cgs = 5.670367e-5;
const double const_stefan_boltzmann_cgs = 5.670374419e-5;
/*! Elementary charge [A s] */
const double const_electron_charge_cgs = 1.6021766208e-19;
const double const_electron_charge_cgs = 1.602176634e-19;
/*! Electron-Volt [g cm^2 s^-2] */
const double const_electron_volt_cgs = 1.6021766208e-12;
const double const_electron_volt_cgs = 1.602176634e-12;
/*! Mass of the electron [g] */
const double const_electron_mass_cgs = 9.10938356e-28;
const double const_electron_mass_cgs = 9.1093837015e-28;
/*! Mass of the proton [g] */
const double const_proton_mass_cgs = 1.672621898e-24;
const double const_proton_mass_cgs = 1.67262192369 - 24;
/*! Tropical year [s] */
const double const_year_cgs = 3.15569252e7;
const double const_year_cgs = 3.15569251e7;
/*! Astronomical unit [cm] */
const double const_astronomical_unit_cgs = 1.49597870700e13;
......@@ -107,7 +107,7 @@ const double const_parsec_cgs = 3.08567758149e18;
#endif
/*! Light-year [cm] */
const double const_light_year_cgs = 9.46053e17;
const double const_light_year_cgs = 9.46063e17;
#ifdef SWIFT_USE_GADGET2_PHYSICAL_CONSTANTS
......@@ -117,12 +117,12 @@ const double const_solar_mass_cgs = 1.989e33;
#else
/*! Mass of the Sun [g] */
const double const_solar_mass_cgs = 1.98848e33;
const double const_solar_mass_cgs = 1.98841e33;
#endif
/*! Mass of the Earth [g] */
const double const_earth_mass_cgs = 5.9724e27;
const double const_earth_mass_cgs = 5.97217e27;
/*! Temperature of the CMB at present day [K] */
const double const_T_CMB_0_cgs = 2.7255;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment