BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
PhysConsts Namespace Reference

Physical constants. More...

Variables

constexpr double g_factor_n = -3.82608545
 neutron g-factor More...
 
constexpr double gamma_n = 1.91304272
 $\gamma$ factor for neutron magnetic moment, $\mu_n = \gamma \cdot \mu_N$ More...
 
constexpr double h_bar = 1.054571817e-34
 Reduced Plank constant, J s. More...
 
constexpr double m_n = 1.67492749804e-27
 Neutron mass, kg. More...
 
constexpr double mu_B = 9.2740100783e-24
 Bohr magneton ( $ \mu_B $), J/T. More...
 
constexpr double mu_N = 5.0507837461e-27
 Nuclear magneton ( $ \mu_N $), J/T. More...
 
constexpr double r_e = 2.8179403262e-15
 Thomson scattering length ( $ r_e $), m. More...
 

Detailed Description

Physical constants.

Variable Documentation

◆ g_factor_n

constexpr double PhysConsts::g_factor_n = -3.82608545
constexpr

neutron g-factor

Definition at line 34 of file PhysicalConstants.h.

◆ gamma_n

constexpr double PhysConsts::gamma_n = 1.91304272
constexpr

$\gamma$ factor for neutron magnetic moment, $\mu_n = \gamma \cdot \mu_N$

Definition at line 32 of file PhysicalConstants.h.

◆ h_bar

constexpr double PhysConsts::h_bar = 1.054571817e-34
constexpr

Reduced Plank constant, J s.

Definition at line 28 of file PhysicalConstants.h.

◆ m_n

constexpr double PhysConsts::m_n = 1.67492749804e-27
constexpr

Neutron mass, kg.

Definition at line 27 of file PhysicalConstants.h.

◆ mu_B

constexpr double PhysConsts::mu_B = 9.2740100783e-24
constexpr

Bohr magneton ( $ \mu_B $), J/T.

Definition at line 30 of file PhysicalConstants.h.

◆ mu_N

constexpr double PhysConsts::mu_N = 5.0507837461e-27
constexpr

Nuclear magneton ( $ \mu_N $), J/T.

Definition at line 29 of file PhysicalConstants.h.

◆ r_e

constexpr double PhysConsts::r_e = 2.8179403262e-15
constexpr

Thomson scattering length ( $ r_e $), m.

Definition at line 31 of file PhysicalConstants.h.