Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-19 09:48:52

0001 // Boost.Units - A C++ library for zero-overhead dimensional analysis and 
0002 // unit/quantity manipulation and conversion
0003 //
0004 // Copyright (C) 2003-2008 Matthias Christian Schabel
0005 // Copyright (C) 2008 Steven Watanabe
0006 //
0007 // Distributed under the Boost Software License, Version 1.0. (See
0008 // accompanying file LICENSE_1_0.txt or copy at
0009 // http://www.boost.org/LICENSE_1_0.txt)
0010 
0011 #ifndef BOOST_UNITS_CODATA_ELECTRON_CONSTANTS_HPP
0012 #define BOOST_UNITS_CODATA_ELECTRON_CONSTANTS_HPP
0013 
0014 #include <boost/units/quantity.hpp>
0015 #include <boost/units/static_constant.hpp>
0016 
0017 #include <boost/units/systems/detail/constants.hpp>
0018 #include <boost/units/systems/si/amount.hpp>
0019 #include <boost/units/systems/si/area.hpp>
0020 #include <boost/units/systems/si/electric_charge.hpp>
0021 #include <boost/units/systems/si/energy.hpp>
0022 #include <boost/units/systems/si/frequency.hpp>
0023 #include <boost/units/systems/si/length.hpp>
0024 #include <boost/units/systems/si/mass.hpp>
0025 #include <boost/units/systems/si/magnetic_flux_density.hpp>
0026 #include <boost/units/systems/si/time.hpp>
0027 #include <boost/units/systems/si/wavenumber.hpp>
0028 
0029 #include <boost/units/systems/si/codata/typedefs.hpp>
0030 
0031 /// \file
0032 /// CODATA recommended values of fundamental atomic and nuclear constants
0033 /// CODATA 2006 values as of 2007/03/30
0034 
0035 namespace boost {
0036 
0037 namespace units { 
0038 
0039 namespace si {
0040                             
0041 namespace constants {
0042 
0043 namespace codata {
0044 
0045 /// CODATA recommended values of the fundamental physical constants: NIST SP 961
0046 
0047 /// electron mass
0048 BOOST_UNITS_PHYSICAL_CONSTANT(m_e,quantity<mass>,9.10938215e-31*kilograms,4.5e-38*kilograms);
0049 /// electron-muon mass ratio
0050 BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_mu,quantity<dimensionless>,4.83633171e-3*dimensionless(),1.2e-10*dimensionless());
0051 /// electron-tau mass ratio
0052 BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_tau,quantity<dimensionless>,2.87564e-4*dimensionless(),4.7e-8*dimensionless());
0053 /// electron-proton mass ratio
0054 BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_p,quantity<dimensionless>,5.4461702177e-4*dimensionless(),2.4e-13*dimensionless());
0055 /// electron-neutron mass ratio
0056 BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_n,quantity<dimensionless>,5.4386734459e-4*dimensionless(),3.3e-13*dimensionless());
0057 /// electron-deuteron mass ratio
0058 BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_d,quantity<dimensionless>,2.7244371093e-4*dimensionless(),1.2e-13*dimensionless());
0059 /// electron-alpha particle mass ratio
0060 BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_alpha,quantity<dimensionless>,1.37093355570e-4*dimensionless(),5.8e-14*dimensionless());
0061 /// electron charge to mass ratio
0062 BOOST_UNITS_PHYSICAL_CONSTANT(e_over_m_e,quantity<electric_charge_over_mass>,1.758820150e11*coulombs/kilogram,4.4e3*coulombs/kilogram);
0063 /// electron molar mass
0064 BOOST_UNITS_PHYSICAL_CONSTANT(M_e,quantity<mass_over_amount>,5.4857990943e-7*kilograms/mole,2.3e-16*kilograms/mole);
0065 /// Compton wavelength
0066 BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C,quantity<length>,2.4263102175e-12*meters,3.3e-21*meters);
0067 /// classical electron radius
0068 BOOST_UNITS_PHYSICAL_CONSTANT(r_e,quantity<length>,2.8179402894e-15*meters,5.8e-24*meters);
0069 /// Thompson cross section
0070 BOOST_UNITS_PHYSICAL_CONSTANT(sigma_e,quantity<area>,0.6652458558e-28*square_meters,2.7e-37*square_meters);
0071 /// electron magnetic moment
0072 BOOST_UNITS_PHYSICAL_CONSTANT(mu_e,quantity<energy_over_magnetic_flux_density>,-928.476377e-26*joules/tesla,2.3e-31*joules/tesla);
0073 /// electron-Bohr magenton moment ratio
0074 BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_B,quantity<dimensionless>,-1.00115965218111*dimensionless(),7.4e-13*dimensionless());
0075 /// electron-nuclear magneton moment ratio
0076 BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_N,quantity<dimensionless>,-183.28197092*dimensionless(),8.0e-7*dimensionless());
0077 /// electron magnetic moment anomaly
0078 BOOST_UNITS_PHYSICAL_CONSTANT(a_e,quantity<dimensionless>,1.15965218111e-3*dimensionless(),7.4e-13*dimensionless());
0079 /// electron g-factor
0080 BOOST_UNITS_PHYSICAL_CONSTANT(g_e,quantity<dimensionless>,-2.0023193043622*dimensionless(),1.5e-12*dimensionless());
0081 /// electron-muon magnetic moment ratio
0082 BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_mu,quantity<dimensionless>,206.7669877*dimensionless(),5.2e-6*dimensionless());
0083 /// electron-proton magnetic moment ratio
0084 BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_p,quantity<dimensionless>,-658.2106848*dimensionless(),5.4e-6*dimensionless());
0085 /// electron-shielded proton magnetic moment ratio
0086 BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_p_prime,quantity<dimensionless>,-658.2275971*dimensionless(),7.2e-6*dimensionless());
0087 /// electron-neutron magnetic moment ratio
0088 BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_n,quantity<dimensionless>,960.92050*dimensionless(),2.3e-4*dimensionless());
0089 /// electron-deuteron magnetic moment ratio
0090 BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_d,quantity<dimensionless>,-2143.923498*dimensionless(),1.8e-5*dimensionless());
0091 /// electron-shielded helion magnetic moment ratio
0092 BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_h_prime,quantity<dimensionless>,864.058257*dimensionless(),1.0e-5*dimensionless());
0093 /// electron gyromagnetic ratio
0094 BOOST_UNITS_PHYSICAL_CONSTANT(gamma_e,quantity<frequency_over_magnetic_flux_density>,1.760859770e11/second/tesla,4.4e3/second/tesla);
0095 
0096 } // namespace codata
0097 
0098 } // namespace constants    
0099 
0100 } // namespace si
0101 
0102 } // namespace units
0103 
0104 } // namespace boost
0105 
0106 #endif // BOOST_UNITS_CODATA_ELECTRON_CONSTANTS_HPP