OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Namespaces | Variables
Physics.h File Reference

Go to the source code of this file.

Namespaces

namespace  Physics
 

Variables

constexpr double Physics::pi = 3.14159265358979323846
 The value of. More...
 
constexpr double Physics::two_pi = 2 * pi
 The value of. More...
 
constexpr double Physics::u_two_pi = 1.0 / two_pi
 The value of. More...
 
constexpr double Physics::e = 2.7182818284590452354
 The value of. More...
 
constexpr double Physics::log10e = 0.43429448190325182765
 The logarithm of $e$ to the base 10. More...
 
constexpr double Physics::c = 299792458.0
 The velocity of light in m/s. More...
 
constexpr double Physics::mu_0 = 1.25663706212e-06
 The permeability of vacuum in Vs/Am. More...
 
constexpr double Physics::epsilon_0 = 8.8541878128e-12
 The permittivity of vacuum in As/Vm. More...
 
constexpr double Physics::h_bar = 6.582119569e-25
 The reduced Planck constant in GeVs. More...
 
constexpr double Physics::Avo = 6.02214076e23
 The Avogadro's number. More...
 
constexpr double Physics::kB = 8.617333262e-5
 Boltzman's constant in eV/K. More...
 
constexpr double Physics::E_ryd = 13.605693122994e-9
 Rydberg's energy (Rydberg's constant times hc) in GeV. More...
 
constexpr double Physics::a0 = 5.29177210903e-11
 Bohr radius in m. More...
 
constexpr double Physics::q_e = 1.602176634e-19
 The elementary charge in As. More...
 
constexpr double Physics::alpha = 7.2973525693e-03
 The fine structure constant, no dimension. More...
 
constexpr double Physics::amu = 0.93149410242
 The atomic mass unit energy equivalent in GeV. More...
 
constexpr double Physics::m_e = 0.51099895000e-03
 The electron rest mass in GeV. More...
 
constexpr double Physics::r_e = 2.8179403262e-15
 The classical electron radius in m. More...
 
constexpr double Physics::lamda_e = 3.8615926796e-13
 The reduced Compton wave length for electrons in m. More...
 
constexpr double Physics::a_e = 1.15965218128e-03
 The magnetic momentum anomaly for electrons, no dimension. More...
 
constexpr double Physics::m_p = 0.93827208816e+00
 The proton rest mass in GeV. More...
 
constexpr double Physics::r_p = 1.53469857e-18
 The classical proton radius in m. More...
 
constexpr double Physics::lamda_p = 2.10308910336e-16
 The reduced Compton wave length for protons in m. More...
 
constexpr double Physics::a_p = 1.792847386e+00
 The magnetic momentum anomaly for protons, no dimension. More...
 
constexpr double Physics::z_p = 1
 The charge of proton. More...
 
constexpr double Physics::m_c = 11.9967074146787 * amu
 The carbon-12 (fully-stripped) rest mass in GeV. More...
 
constexpr double Physics::m_hm = 1.00837 * amu
 The H- rest mass in GeV. More...
 
constexpr double Physics::m_u = 237.999501 * amu
 The uranium-238 (fully-stripped) rest mass in GeV. More...
 
constexpr double Physics::m_mu = 0.1056583755
 The muon rest mass in GeV. More...
 
constexpr double Physics::m_d = 2.013553212745 * amu
 The deuteron rest mass in GeV. More...
 
constexpr double Physics::m_xe = 128.87494026 * amu
 The xenon-129 (fully-stripped) rest mass in GeV. More...
 
constexpr double Physics::m_alpha = 4.001506179127 * amu
 The alpha particle rest mass in GeV. More...
 
constexpr double Physics::m_h = 1.00782503224 * amu
 The hydrogen atom rest mass in GeV. More...
 
constexpr double Physics::m_h2p = 2.01510 * amu
 The H2+ rest mass in GeV. More...
 
constexpr double Physics::m_h3p = 3.02293 * amu
 The H3+ rest mass in GeV. More...
 
constexpr double Physics::PMASS = 1.67262192369e-27
 
constexpr double Physics::EMASS = 9.1093837015e-31
 
constexpr double Physics::PCHARGE = 1.602176634e-19
 
constexpr double Physics::Ia = 17.045148e+03
 
constexpr double Physics::e0m = 1.75882001076e+11
 
constexpr double Physics::e0mc = e0m / c