From 5bd88ed464e94c08d80f2d8c737579950db44be0 Mon Sep 17 00:00:00 2001 From: Oliver Hahn Date: Tue, 25 Aug 2020 12:36:10 +0200 Subject: [PATCH] added solar mass to constants --- include/physical_constants.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/physical_constants.hh b/include/physical_constants.hh index 1a96783..ceec634 100644 --- a/include/physical_constants.hh +++ b/include/physical_constants.hh @@ -69,4 +69,7 @@ static constexpr double u_SI = 1.660539040e-27; // critical density of the Universe in h^2 kg/m^3 static constexpr double rhocrit_h2_SI = 3 * 1e10 / (8 * pi_ * G_SI) / Mpc_SI / Mpc_SI; +// solar mass in kg +static constexpr double Msun_SI = 1.98847e30; + } // namespace phys_const \ No newline at end of file