99
1010namespace picsar ::multi_physics::phys
1111{
12-
13- // Some useful physical constants in SI units
12+ // Some useful physical constants in SI units (CODATA 2022)
1413 template <typename RealType = double >
15- constexpr auto electron_mass = RealType(9.1093837015e -31 );
14+ constexpr auto electron_mass = RealType(9.1093837139e -31 );
1615
1716 template <typename RealType = double >
1817 constexpr auto elementary_charge = RealType(1.602176634e-19 );
@@ -24,31 +23,31 @@ namespace picsar::multi_physics::phys
2423 constexpr auto reduced_plank = RealType(1.054571817e-34 );
2524
2625 template <typename RealType = double >
27- constexpr auto vacuum_permittivity = RealType(8.8541878128e -12 );
26+ constexpr auto vacuum_permittivity = RealType(8.8541878188e -12 );
2827
2928 template <typename RealType = double >
30- constexpr auto vacuum_permeability = RealType(1.25663706212e -6 );
29+ constexpr auto vacuum_permeability = RealType(1.25663706127e -6 );
3130
3231 template <typename RealType = double >
33- constexpr auto fine_structure = RealType(0.0072973525693 );
32+ constexpr auto fine_structure = RealType(0.0072973525643 );
3433
3534 template <typename RealType = double >
36- constexpr auto eV = RealType(1.602176634e-19 );
35+ constexpr auto eV = RealType(elementary_charge );
3736
3837 template <typename RealType = double >
39- constexpr auto KeV = RealType(1.602176634e-16 );
38+ constexpr auto KeV = RealType(elementary_charge* 1e3 );
4039
4140 template <typename RealType = double >
42- constexpr auto MeV = RealType(1.602176634e-13 );
41+ constexpr auto MeV = RealType(elementary_charge* 1e6 );
4342
4443 template <typename RealType = double >
45- constexpr auto GeV = RealType(1.602176634e-10 );
44+ constexpr auto GeV = RealType(elementary_charge* 1e9 );
4645
4746 // This constant is used for the Heaviside Lorentz unit system
4847 // (unfortunately, sqrt is not constexpr)
4948 template <typename RealType = double >
5049 constexpr auto sqrt_4_pi_fine_structure =
51- RealType (0.302822120872089 );
50+ RealType (0.3028221207683449 );
5251
5352 // Intermediate calculations of the following quantities are performed with
5453 // double precision to avoid numerical issues
0 commit comments