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_PROTON_CONSTANTS_HPP
0012 #define BOOST_UNITS_CODATA_PROTON_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 /// proton mass
0048 BOOST_UNITS_PHYSICAL_CONSTANT(m_p,quantity<mass>,1.672621637e-27*kilograms,8.3e-35*kilograms);
0049 /// proton-electron mass ratio
0050 BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_e,quantity<dimensionless>,1836.15267247*dimensionless(),8.0e-7*dimensionless());
0051 /// proton-muon mass ratio
0052 BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_mu,quantity<dimensionless>,8.88024339*dimensionless(),2.3e-7*dimensionless());
0053 /// proton-tau mass ratio
0054 BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_tau,quantity<dimensionless>,0.528012*dimensionless(),8.6e-5*dimensionless());
0055 /// proton-neutron mass ratio
0056 BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_n,quantity<dimensionless>,0.99862347824*dimensionless(),4.6e-10*dimensionless());
0057 /// proton charge to mass ratio
0058 BOOST_UNITS_PHYSICAL_CONSTANT(e_over_m_p,quantity<electric_charge_over_mass>,9.57883392e7*coulombs/kilogram,2.4e0*coulombs/kilogram);
0059 /// proton molar mass
0060 BOOST_UNITS_PHYSICAL_CONSTANT(M_p,quantity<mass_over_amount>,1.00727646677e-3*kilograms/mole,1.0e-13*kilograms/mole);
0061 /// proton Compton wavelength
0062 BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C_p,quantity<length>,1.3214098446e-15*meters,1.9e-24*meters);
0063 /// proton rms charge radius
0064 BOOST_UNITS_PHYSICAL_CONSTANT(R_p,quantity<length>,0.8768e-15*meters,6.9e-18*meters);
0065 /// proton magnetic moment
0066 BOOST_UNITS_PHYSICAL_CONSTANT(mu_p,quantity<energy_over_magnetic_flux_density>,1.410606662e-26*joules/tesla,3.7e-34*joules/tesla);
0067 /// proton-Bohr magneton ratio
0068 BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_over_mu_B,quantity<dimensionless>,1.521032209e-3*dimensionless(),1.2e-11*dimensionless());
0069 /// proton-nuclear magneton ratio
0070 BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_over_mu_N,quantity<dimensionless>,2.792847356*dimensionless(),2.3e-8*dimensionless());
0071 /// proton g-factor
0072 BOOST_UNITS_PHYSICAL_CONSTANT(g_p,quantity<dimensionless>,5.585694713*dimensionless(),4.6e-8*dimensionless());
0073 /// proton-neutron magnetic moment ratio
0074 BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_over_mu_n,quantity<dimensionless>,-1.45989806*dimensionless(),3.4e-7*dimensionless());
0075 /// shielded proton magnetic moment
0076 BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_prime,quantity<energy_over_magnetic_flux_density>,1.410570419e-26*joules/tesla,3.8e-34*joules/tesla);
0077 /// shielded proton-Bohr magneton ratio
0078 BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_prime_over_mu_B,quantity<dimensionless>,1.520993128e-3*dimensionless(),1.7e-11*dimensionless());
0079 /// shielded proton-nuclear magneton ratio
0080 BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_prime_over_mu_N,quantity<dimensionless>,2.792775598*dimensionless(),3.0e-8*dimensionless());
0081 /// proton magnetic shielding correction
0082 BOOST_UNITS_PHYSICAL_CONSTANT(sigma_p_prime,quantity<dimensionless>,25.694e-6*dimensionless(),1.4e-8*dimensionless());
0083 /// proton gyromagnetic ratio
0084 BOOST_UNITS_PHYSICAL_CONSTANT(gamma_p,quantity<frequency_over_magnetic_flux_density>,2.675222099e8/second/tesla,7.0e0/second/tesla);
0085 /// shielded proton gyromagnetic ratio
0086 BOOST_UNITS_PHYSICAL_CONSTANT(gamma_p_prime,quantity<frequency_over_magnetic_flux_density>,2.675153362e8/second/tesla,7.3e0/second/tesla);
0087 
0088 } // namespace codata
0089 
0090 } // namespace constants    
0091 
0092 } // namespace si
0093 
0094 } // namespace units
0095 
0096 } // namespace boost
0097 
0098 #endif // BOOST_UNITS_CODATA_PROTON_CONSTANTS_HPP