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_NEUTRON_CONSTANTS_HPP
0012 #define BOOST_UNITS_CODATA_NEUTRON_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 /// neutron mass
0048 BOOST_UNITS_PHYSICAL_CONSTANT(m_n,quantity<mass>,1.674927211e-27*kilograms,8.4e-35*kilograms);
0049 /// neutron-electron mass ratio
0050 BOOST_UNITS_PHYSICAL_CONSTANT(m_n_over_m_e,quantity<dimensionless>,1838.6836605*dimensionless(),1.1e-6*dimensionless());
0051 /// neutron-muon mass ratio
0052 BOOST_UNITS_PHYSICAL_CONSTANT(m_n_over_m_mu,quantity<dimensionless>,8.89248409*dimensionless(),2.3e-7*dimensionless());
0053 /// neutron-tau mass ratio
0054 BOOST_UNITS_PHYSICAL_CONSTANT(m_n_over_m_tau,quantity<dimensionless>,0.528740*dimensionless(),8.6e-5*dimensionless());
0055 /// neutron-proton mass ratio
0056 BOOST_UNITS_PHYSICAL_CONSTANT(m_n_over_m_p,quantity<dimensionless>,1.00137841918*dimensionless(),4.6e-10*dimensionless());
0057 /// neutron molar mass
0058 BOOST_UNITS_PHYSICAL_CONSTANT(M_n,quantity<mass_over_amount>,1.00866491597e-3*kilograms/mole,4.3e-13*kilograms/mole);
0059 /// neutron Compton wavelength
0060 BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C_n,quantity<length>,1.3195908951e-15*meters,2.0e-24*meters);
0061 /// neutron magnetic moment
0062 BOOST_UNITS_PHYSICAL_CONSTANT(mu_n,quantity<energy_over_magnetic_flux_density>,-0.96623641e-26*joules/tesla,2.3e-33*joules/tesla);
0063 /// neutron g-factor
0064 BOOST_UNITS_PHYSICAL_CONSTANT(g_n,quantity<dimensionless>,-3.82608545*dimensionless(),9.0e-7*dimensionless());
0065 /// neutron-electron magnetic moment ratio
0066 BOOST_UNITS_PHYSICAL_CONSTANT(mu_n_over_mu_e,quantity<dimensionless>,1.04066882e-3*dimensionless(),2.5e-10*dimensionless());
0067 /// neutron-proton magnetic moment ratio
0068 BOOST_UNITS_PHYSICAL_CONSTANT(mu_n_over_mu_p,quantity<dimensionless>,-0.68497934*dimensionless(),1.6e-7*dimensionless());
0069 /// neutron-shielded proton magnetic moment ratio
0070 BOOST_UNITS_PHYSICAL_CONSTANT(mu_n_over_mu_p_prime,quantity<dimensionless>,-0.68499694*dimensionless(),1.6e-7*dimensionless());
0071 /// neutron gyromagnetic ratio
0072 BOOST_UNITS_PHYSICAL_CONSTANT(gamma_n,quantity<frequency_over_magnetic_flux_density>,1.83247185e8/second/tesla,4.3e1/second/tesla);
0073 
0074 } // namespace codata
0075 
0076 } // namespace constants    
0077 
0078 } // namespace si
0079 
0080 } // namespace units
0081 
0082 } // namespace boost
0083 
0084 #endif // BOOST_UNITS_CODATA_NEUTRON_CONSTANTS_HPP