12const double N_A = 6.02214076e23;
13const double k_B = 1.380649e-23;
15const double PI = 3.141592653589793238462643383279502884197;
21 template<
typename NumType>
23 const NumType k_B = 1.380649e-23;
24 const NumType N_A_ = 6.02214076e23;
25 return static_cast<NumType
>(N_A_ * k_B);
const double R_CODATA2006
molar gas constant from CODATA 2006: https://doi.org/10.1103/RevModPhys.80.633
const double epsilon_0
Vacuum permittivity (https://en.wikipedia.org/wiki/Vacuum_permittivity), in F/m, or C^2⋅N^−1⋅m^−2.
const double R_CODATA2017
molar gas constant from CODATA 2017: https://doi.org/10.1103/RevModPhys.84.1527
const double N_A
Avogadro's number.
const double R_CODATA2010
molar gas constant from CODATA 2010: https://doi.org/10.1103/RevModPhys.84.1527
const double k_e
Coulomb constant, with units of N m^2 / C^2.
const double R_CODATA2002
molar gas constant from CODATA 2002: https://doi.org/10.1103/RevModPhys.77.1
const double k_B
Boltzmann constant.
auto get_R_gas()
< Gas constant, according to CODATA 2019, in the given number type