1 // Boost.Units - A C++ library for zero-overhead dimensional analysis and 2 // unit/quantity manipulation and conversion 3 // 4 // Copyright (C) 2003-2008 Matthias Christian Schabel 5 // Copyright (C) 2008 Steven Watanabe 6 // 7 // Distributed under the Boost Software License, Version 1.0. (See 8 // accompanying file LICENSE_1_0.txt or copy at 9 // http://www.boost.org/LICENSE_1_0.txt) 10 11 #ifndef BOOST_UNITS_CODATA_ELECTRON_CONSTANTS_HPP 12 #define BOOST_UNITS_CODATA_ELECTRON_CONSTANTS_HPP 13 14 #include <boost/units/quantity.hpp> 15 #include <boost/units/static_constant.hpp> 16 17 #include <boost/units/systems/detail/constants.hpp> 18 #include <boost/units/systems/si/amount.hpp> 19 #include <boost/units/systems/si/area.hpp> 20 #include <boost/units/systems/si/electric_charge.hpp> 21 #include <boost/units/systems/si/energy.hpp> 22 #include <boost/units/systems/si/frequency.hpp> 23 #include <boost/units/systems/si/length.hpp> 24 #include <boost/units/systems/si/mass.hpp> 25 #include <boost/units/systems/si/magnetic_flux_density.hpp> 26 #include <boost/units/systems/si/time.hpp> 27 #include <boost/units/systems/si/wavenumber.hpp> 28 29 #include <boost/units/systems/si/codata/typedefs.hpp> 30 31 /// \file 32 /// CODATA recommended values of fundamental atomic and nuclear constants 33 /// CODATA 2006 values as of 2007/03/30 34 35 namespace boost { 36 37 namespace units { 38 39 namespace si { 40 41 namespace constants { 42 43 namespace codata { 44 45 /// CODATA recommended values of the fundamental physical constants: NIST SP 961 46 47 /// electron mass 48 BOOST_UNITS_PHYSICAL_CONSTANT(m_e,quantity<mass>,9.10938215e-31*kilograms,4.5e-38*kilograms); 49 /// electron-muon mass ratio 50 BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_mu,quantity<dimensionless>,4.83633171e-3*dimensionless(),1.2e-10*dimensionless()); 51 /// electron-tau mass ratio 52 BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_tau,quantity<dimensionless>,2.87564e-4*dimensionless(),4.7e-8*dimensionless()); 53 /// electron-proton mass ratio 54 BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_p,quantity<dimensionless>,5.4461702177e-4*dimensionless(),2.4e-13*dimensionless()); 55 /// electron-neutron mass ratio 56 BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_n,quantity<dimensionless>,5.4386734459e-4*dimensionless(),3.3e-13*dimensionless()); 57 /// electron-deuteron mass ratio 58 BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_d,quantity<dimensionless>,2.7244371093e-4*dimensionless(),1.2e-13*dimensionless()); 59 /// electron-alpha particle mass ratio 60 BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_alpha,quantity<dimensionless>,1.37093355570e-4*dimensionless(),5.8e-14*dimensionless()); 61 /// electron charge to mass ratio 62 BOOST_UNITS_PHYSICAL_CONSTANT(e_over_m_e,quantity<electric_charge_over_mass>,1.758820150e11*coulombs/kilogram,4.4e3*coulombs/kilogram); 63 /// electron molar mass 64 BOOST_UNITS_PHYSICAL_CONSTANT(M_e,quantity<mass_over_amount>,5.4857990943e-7*kilograms/mole,2.3e-16*kilograms/mole); 65 /// Compton wavelength 66 BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C,quantity<length>,2.4263102175e-12*meters,3.3e-21*meters); 67 /// classical electron radius 68 BOOST_UNITS_PHYSICAL_CONSTANT(r_e,quantity<length>,2.8179402894e-15*meters,5.8e-24*meters); 69 /// Thompson cross section 70 BOOST_UNITS_PHYSICAL_CONSTANT(sigma_e,quantity<area>,0.6652458558e-28*square_meters,2.7e-37*square_meters); 71 /// electron magnetic moment 72 BOOST_UNITS_PHYSICAL_CONSTANT(mu_e,quantity<energy_over_magnetic_flux_density>,-928.476377e-26*joules/tesla,2.3e-31*joules/tesla); 73 /// electron-Bohr magenton moment ratio 74 BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_B,quantity<dimensionless>,-1.00115965218111*dimensionless(),7.4e-13*dimensionless()); 75 /// electron-nuclear magneton moment ratio 76 BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_N,quantity<dimensionless>,-183.28197092*dimensionless(),8.0e-7*dimensionless()); 77 /// electron magnetic moment anomaly 78 BOOST_UNITS_PHYSICAL_CONSTANT(a_e,quantity<dimensionless>,1.15965218111e-3*dimensionless(),7.4e-13*dimensionless()); 79 /// electron g-factor 80 BOOST_UNITS_PHYSICAL_CONSTANT(g_e,quantity<dimensionless>,-2.0023193043622*dimensionless(),1.5e-12*dimensionless()); 81 /// electron-muon magnetic moment ratio 82 BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_mu,quantity<dimensionless>,206.7669877*dimensionless(),5.2e-6*dimensionless()); 83 /// electron-proton magnetic moment ratio 84 BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_p,quantity<dimensionless>,-658.2106848*dimensionless(),5.4e-6*dimensionless()); 85 /// electron-shielded proton magnetic moment ratio 86 BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_p_prime,quantity<dimensionless>,-658.2275971*dimensionless(),7.2e-6*dimensionless()); 87 /// electron-neutron magnetic moment ratio 88 BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_n,quantity<dimensionless>,960.92050*dimensionless(),2.3e-4*dimensionless()); 89 /// electron-deuteron magnetic moment ratio 90 BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_d,quantity<dimensionless>,-2143.923498*dimensionless(),1.8e-5*dimensionless()); 91 /// electron-shielded helion magnetic moment ratio 92 BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_h_prime,quantity<dimensionless>,864.058257*dimensionless(),1.0e-5*dimensionless()); 93 /// electron gyromagnetic ratio 94 BOOST_UNITS_PHYSICAL_CONSTANT(gamma_e,quantity<frequency_over_magnetic_flux_density>,1.760859770e11/second/tesla,4.4e3/second/tesla); 95 96 } // namespace codata 97 98 } // namespace constants 99 100 } // namespace si 101 102 } // namespace units 103 104 } // namespace boost 105 106 #endif // BOOST_UNITS_CODATA_ELECTRON_CONSTANTS_HPP 107