Skip to content

Commit 2b4740d

Browse files
committed
Update mu_0, alpha to enforce consistency between constants
1 parent eccf1f4 commit 2b4740d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

multi_physics/QED/QED_tests/test_picsar_phys_constants.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ void test_case_const_phys()
5151
const auto exp_vacuum_permittivity =
5252
static_cast<RealType>(8.8541878188e-12);
5353
const auto exp_vacuum_permeability =
54-
static_cast<RealType>(1.25663706127e-6);
54+
static_cast<RealType>(1.2566370612685e-6);
5555
const auto exp_fine_structure =
56-
static_cast<RealType>(0.0072973525643);
56+
static_cast<RealType>(0.0072973525643330135);
5757
const auto exp_eV =
5858
static_cast<RealType>(1.602176634e-19);
5959
const auto exp_KeV =

multi_physics/QED/include/picsar_qed/physics/phys_constants.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ namespace picsar::multi_physics::phys
2828
constexpr auto vacuum_permittivity = RealType(8.8541878188e-12);
2929

3030
template<typename RealType = double>
31-
constexpr auto vacuum_permeability = RealType(1.25663706127e-6);
31+
constexpr auto vacuum_permeability = RealType(1.2566370612685e-6);
3232

3333
template<typename RealType = double>
34-
constexpr auto fine_structure = RealType(0.0072973525643);
34+
constexpr auto fine_structure = RealType(0.0072973525643330135);
3535

3636
template<typename RealType = double>
3737
constexpr auto eV = RealType(elementary_charge<>);
@@ -52,7 +52,7 @@ namespace picsar::multi_physics::phys
5252
//(unfortunately, sqrt is not constexpr)
5353
template<typename RealType = double>
5454
constexpr auto sqrt_4_pi_fine_structure =
55-
RealType(0.3028221207683449);
55+
RealType(0.3028221207690299);
5656

5757
//
5858
template<typename RealType = double>

0 commit comments

Comments
 (0)