![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Physical constant in SI units. More...
#include <shamunits/include/shamunits/Constants.hpp>
Static Public Attributes | |
| static constexpr T | delta_nu_cs = 9192631770 |
| get delta_nu_cs in the si unit system (s-1) | |
| static constexpr T | c = 299792458 |
| get c in the si unit system (m.s-1) | |
| static constexpr T | h = 6.62607015e-34 |
| get h in the si unit system (J.s-1) | |
| static constexpr T | e = 1.602176634e-19 |
| get e in the si unit system (C) | |
| static constexpr T | k = 1.380649e-23 |
| get k in the si unit system (J.K-1 ) | |
| static constexpr T | Na = 6.02214076e23 |
| get Na in the si unit system (mol-1 ) | |
| static constexpr T | Kcd = 683 |
| get Kcd in the si unit system (lm.W-1) | |
| static constexpr T | G = 6.6743015e-11 |
| get the value of G in the si unit system (N.m2.kg-2) | |
| static constexpr T | hbar = h / (2 * pi<T>) |
| get the value of hbar in the si unit system (J.s-1) | |
| static constexpr T | mu_0 = 1.2566370621219e-6 |
| get the value of mu_0 in the si unit system (N.A-2) | |
| static constexpr T | Z_0 = mu_0 * c |
| get the value of Z_0 in the si unit system (Ohm) | |
| static constexpr T | epsilon_0 = 1 / (Z_0 * c) |
| get the value of epsilon_0 in the si unit system (F.m-1) | |
| static constexpr T | ke = 1 / (4 * pi<T> * epsilon_0) |
| get the value of ke in the si unit system (N.m2.C-2) | |
| static constexpr T | kb = 1.380649e-23 |
| get the value of kb in the si unit system (J.K-1) | |
| static constexpr T | sigma = 5.670374419e-8 |
| Stephan Boltzmann constant (W.m-2.K-4) | |
| static constexpr T | second = 1 |
| static constexpr T | minute = Conv::mn_to_s |
| static constexpr T | hour = Conv::hr_to_s |
| get the value of a hour in the time unit of the si unit system (s) | |
| static constexpr T | day = Conv::dy_to_s |
| get the value of a day in the time unit of the si unit system (s) | |
| static constexpr T | year = Conv::yr_to_s |
| get the value of a year in the time unit of the si unit system (s) | |
| static constexpr T | astronomical_unit = Conv::au_to_m |
| get the value of an astronomical_unit in the distance unit of the si unit system (m) | |
| static constexpr T | au = astronomical_unit |
| get the value of an au in the distance unit of the si unit system (m) | |
| static constexpr T | light_year = Conv::ly_to_m |
| get the value of a light_year in the distance unit of the si unit system (m) | |
| static constexpr T | parsec = Conv::pc_to_m |
| get the value of a parsec in the distance unit of the si unit system (m) | |
| static constexpr T | solar_radius = Conv::rsol_to_m |
| get the value of a solar radius in the distance unit of the si unit system (m) | |
| static constexpr T | earth_radius = Conv::rearth_to_m |
| get the value of one earth equatorial radius in the distance unit of the si unit system (m) | |
| static constexpr T | planck_length = 1.61625518e-35 |
| get the value of a planck_length in the distance unit of the si unit system (m) | |
| static constexpr T | proton_mass = 1.67262192e-27 |
| get the value of a proton_mass in the mass unit of the si unit system (kg) | |
| static constexpr T | electron_mass = proton_mass * electron_proton_ratio<T> |
| get the value of a electron_mass in the mass unit of the si unit system (kg) | |
| static constexpr T | earth_mass = 5.9722e24 |
| get the value of a earth_mass in the mass unit of the si unit system (kg) | |
| static constexpr T | jupiter_mass = 1.898e27 |
| get the value of a jupiter_mass in the mass unit of the si unit system (kg) | |
| static constexpr T | sol_mass = 1.98847e30 |
| get the value of a sol_mass in the mass unit of the si unit system (kg) | |
| static constexpr T | planck_mass = 2.17643424e-8 |
| get the value of a planck_mass in the mass unit of the si unit system (kg) | |
| static constexpr T | dalton = 1.66053906892e-27 |
| static constexpr T | guiness_density = Conv::gcm3_to_guiness_density * 1000 |
| get the value of a guiness_density in the density of the si unit system (kg.m-3) | |
Physical constant in SI units.
Definition at line 118 of file Constants.hpp.
|
staticconstexpr |
get the value of an astronomical_unit in the distance unit of the si unit system (m)
Definition at line 147 of file Constants.hpp.
|
staticconstexpr |
get the value of an au in the distance unit of the si unit system (m)
Definition at line 148 of file Constants.hpp.
|
staticconstexpr |
get c in the si unit system (m.s-1)
Definition at line 122 of file Constants.hpp.
|
staticconstexpr |
Definition at line 161 of file Constants.hpp.
|
staticconstexpr |
get the value of a day in the time unit of the si unit system (s)
Definition at line 144 of file Constants.hpp.
|
staticconstexpr |
get delta_nu_cs in the si unit system (s-1)
Definition at line 121 of file Constants.hpp.
|
staticconstexpr |
get e in the si unit system (C)
Definition at line 124 of file Constants.hpp.
|
staticconstexpr |
get the value of a earth_mass in the mass unit of the si unit system (kg)
Definition at line 157 of file Constants.hpp.
|
staticconstexpr |
get the value of one earth equatorial radius in the distance unit of the si unit system (m)
Definition at line 152 of file Constants.hpp.
|
staticconstexpr |
get the value of a electron_mass in the mass unit of the si unit system (kg)
Definition at line 156 of file Constants.hpp.
|
staticconstexpr |
get the value of epsilon_0 in the si unit system (F.m-1)
Definition at line 134 of file Constants.hpp.
|
staticconstexpr |
get the value of G in the si unit system (N.m2.kg-2)
Definition at line 130 of file Constants.hpp.
|
staticconstexpr |
get the value of a guiness_density in the density of the si unit system (kg.m-3)
Definition at line 163 of file Constants.hpp.
|
staticconstexpr |
get h in the si unit system (J.s-1)
Definition at line 123 of file Constants.hpp.
|
staticconstexpr |
get the value of hbar in the si unit system (J.s-1)
Definition at line 131 of file Constants.hpp.
|
staticconstexpr |
get the value of a hour in the time unit of the si unit system (s)
Definition at line 143 of file Constants.hpp.
|
staticconstexpr |
get the value of a jupiter_mass in the mass unit of the si unit system (kg)
Definition at line 158 of file Constants.hpp.
|
staticconstexpr |
get k in the si unit system (J.K-1 )
Definition at line 125 of file Constants.hpp.
|
staticconstexpr |
get the value of kb in the si unit system (J.K-1)
Definition at line 136 of file Constants.hpp.
|
staticconstexpr |
get Kcd in the si unit system (lm.W-1)
Definition at line 127 of file Constants.hpp.
|
staticconstexpr |
get the value of ke in the si unit system (N.m2.C-2)
Definition at line 135 of file Constants.hpp.
|
staticconstexpr |
get the value of a light_year in the distance unit of the si unit system (m)
Definition at line 149 of file Constants.hpp.
|
staticconstexpr |
Definition at line 142 of file Constants.hpp.
|
staticconstexpr |
get the value of mu_0 in the si unit system (N.A-2)
Definition at line 132 of file Constants.hpp.
|
staticconstexpr |
get Na in the si unit system (mol-1 )
Definition at line 126 of file Constants.hpp.
|
staticconstexpr |
get the value of a parsec in the distance unit of the si unit system (m)
Definition at line 150 of file Constants.hpp.
|
staticconstexpr |
get the value of a planck_length in the distance unit of the si unit system (m)
Definition at line 153 of file Constants.hpp.
|
staticconstexpr |
get the value of a planck_mass in the mass unit of the si unit system (kg)
Definition at line 160 of file Constants.hpp.
|
staticconstexpr |
get the value of a proton_mass in the mass unit of the si unit system (kg)
Definition at line 155 of file Constants.hpp.
|
staticconstexpr |
Definition at line 141 of file Constants.hpp.
|
staticconstexpr |
Stephan Boltzmann constant (W.m-2.K-4)
get the value of sigma (Stephan Boltzmann constant) in the si unit system (W.m-2.K-4)
Definition at line 139 of file Constants.hpp.
|
staticconstexpr |
get the value of a sol_mass in the mass unit of the si unit system (kg)
Definition at line 159 of file Constants.hpp.
|
staticconstexpr |
get the value of a solar radius in the distance unit of the si unit system (m)
Definition at line 151 of file Constants.hpp.
|
staticconstexpr |
get the value of a year in the time unit of the si unit system (s)
Definition at line 145 of file Constants.hpp.
|
staticconstexpr |
get the value of Z_0 in the si unit system (Ohm)
Definition at line 133 of file Constants.hpp.