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_DEUTERON_CONSTANTS_HPP
0012 #define BOOST_UNITS_CODATA_DEUTERON_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 /// deuteron mass
0048 BOOST_UNITS_PHYSICAL_CONSTANT(m_d,quantity<mass>,3.34358320e-27*kilograms,1.7e-34*kilograms);
0049 /// deuteron-electron mass ratio
0050 BOOST_UNITS_PHYSICAL_CONSTANT(m_d_over_m_e,quantity<dimensionless>,3670.4829654*dimensionless(),1.6e-6*dimensionless());
0051 /// deuteron-proton mass ratio
0052 BOOST_UNITS_PHYSICAL_CONSTANT(m_d_over_m_p,quantity<dimensionless>,1.99900750108*dimensionless(),2.2e-10*dimensionless());
0053 /// deuteron molar mass
0054 BOOST_UNITS_PHYSICAL_CONSTANT(M_d,quantity<mass_over_amount>,2.013553212724e-3*kilograms/mole,7.8e-14*kilograms/mole);
0055 /// deuteron rms charge radius
0056 BOOST_UNITS_PHYSICAL_CONSTANT(R_d,quantity<length>,2.1402e-15*meters,2.8e-18*meters);
0057 /// deuteron magnetic moment
0058 BOOST_UNITS_PHYSICAL_CONSTANT(mu_d,quantity<energy_over_magnetic_flux_density>,0.433073465e-26*joules/tesla,1.1e-34*joules/tesla);
0059 /// deuteron-Bohr magneton ratio
0060 BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_B,quantity<dimensionless>,0.4669754556e-3*dimensionless(),3.9e-12*dimensionless());
0061 /// deuteron-nuclear magneton ratio
0062 BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_N,quantity<dimensionless>,0.8574382308*dimensionless(),7.2e-9*dimensionless());
0063 /// deuteron g-factor
0064 BOOST_UNITS_PHYSICAL_CONSTANT(g_d,quantity<dimensionless>,0.8574382308*dimensionless(),7.2e-9*dimensionless());
0065 /// deuteron-electron magnetic moment ratio
0066 BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_e,quantity<dimensionless>,-4.664345537e-4*dimensionless(),3.9e-12*dimensionless());
0067 /// deuteron-proton magnetic moment ratio
0068 BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_p,quantity<dimensionless>,0.3070122070*dimensionless(),2.4e-9*dimensionless());
0069 /// deuteron-neutron magnetic moment ratio
0070 BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_n,quantity<dimensionless>,-0.44820652*dimensionless(),1.1e-7*dimensionless());
0071 
0072 } // namespace codata
0073 
0074 } // namespace constants    
0075 
0076 } // namespace si
0077 
0078 } // namespace units
0079 
0080 } // namespace boost
0081 
0082 #endif // BOOST_UNITS_CODATA_DEUTERON_CONSTANTS_HPP