From 99ddca6dbbb7f714c8825f208986b58cb92d2c04 Mon Sep 17 00:00:00 2001 From: E Kawashima Date: Sat, 21 Jul 2018 20:00:28 +0900 Subject: [PATCH] Update to 2014 CODATA recommended values --- .../systems/si/codata/alpha_constants.hpp | 21 +++---- .../si/codata/atomic-nuclear_constants.hpp | 22 +++---- .../systems/si/codata/deuteron_constants.hpp | 35 ++++++------ .../si/codata/electromagnetic_constants.hpp | 36 ++++++------ .../systems/si/codata/electron_constants.hpp | 57 +++++++++---------- .../systems/si/codata/helion_constants.hpp | 31 +++++----- .../systems/si/codata/muon_constants.hpp | 39 ++++++------- .../systems/si/codata/neutron_constants.hpp | 31 +++++----- .../si/codata/physico-chemical_constants.hpp | 11 ++-- .../systems/si/codata/proton_constants.hpp | 53 ++++++++--------- .../units/systems/si/codata/tau_constants.hpp | 27 ++++----- .../systems/si/codata/triton_constants.hpp | 36 ++++++------ .../systems/si/codata/universal_constants.hpp | 27 ++++----- 13 files changed, 196 insertions(+), 230 deletions(-) diff --git a/include/boost/units/systems/si/codata/alpha_constants.hpp b/include/boost/units/systems/si/codata/alpha_constants.hpp index fa6e7f5a..d2f91bf4 100644 --- a/include/boost/units/systems/si/codata/alpha_constants.hpp +++ b/include/boost/units/systems/si/codata/alpha_constants.hpp @@ -1,4 +1,4 @@ -// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel @@ -29,33 +29,30 @@ #include /// \file -/// CODATA recommended values of fundamental atomic and nuclear constants -/// CODATA 2006 values as of 2007/03/30 +/// 2014 CODATA recommended values of fundamental atomic and nuclear constants as of 2018/07/21 namespace boost { -namespace units { +namespace units { namespace si { - + namespace constants { namespace codata { -/// CODATA recommended values of the fundamental physical constants: NIST SP 961 - /// alpha particle mass -BOOST_UNITS_PHYSICAL_CONSTANT(m_alpha,quantity,6.64465620e-27*kilograms,3.3e-34*kilograms); +BOOST_UNITS_PHYSICAL_CONSTANT(m_alpha,quantity,6.644657230e-27*kilograms,8.2e-35*kilograms); /// alpha-electron mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_alpha_over_m_e,quantity,7294.2995365*dimensionless(),3.1e-6*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_alpha_over_m_e,quantity,7294.29954136*dimensionless(),2.4e-7*dimensionless()); /// alpha-proton mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_alpha_over_m_p,quantity,3.97259968951*dimensionless(),4.1e-10*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_alpha_over_m_p,quantity,3.97259968907*dimensionless(),3.6e-10*dimensionless()); /// alpha molar mass -BOOST_UNITS_PHYSICAL_CONSTANT(M_alpha,quantity,4.001506179127e-3*kilograms/mole,6.2e-14*kilograms/mole); +BOOST_UNITS_PHYSICAL_CONSTANT(M_alpha,quantity,4.001506179127e-3*kilograms/mole,6.3e-14*kilograms/mole); } // namespace codata -} // namespace constants +} // namespace constants } // namespace si diff --git a/include/boost/units/systems/si/codata/atomic-nuclear_constants.hpp b/include/boost/units/systems/si/codata/atomic-nuclear_constants.hpp index 80b4c279..a4b89687 100644 --- a/include/boost/units/systems/si/codata/atomic-nuclear_constants.hpp +++ b/include/boost/units/systems/si/codata/atomic-nuclear_constants.hpp @@ -1,4 +1,4 @@ -// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel @@ -21,31 +21,31 @@ #include #include +/// \file +/// 2014 CODATA recommended values of fundamental atomic and nuclear constants as of 2018/07/21 + namespace boost { -namespace units { +namespace units { namespace si { - + namespace constants { namespace codata { -/// CODATA recommended values of the fundamental physical constants: NIST SP 961 - -// ATOMIC AND NUCLEAR /// fine structure constant -BOOST_UNITS_PHYSICAL_CONSTANT(alpha,quantity,7.2973525376e-3*dimensionless(),5.0e-12*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(alpha,quantity,7.2973525664e-3*dimensionless(),1.7e-12*dimensionless()); /// Rydberg constant -BOOST_UNITS_PHYSICAL_CONSTANT(R_infinity,quantity,10973731.568527/meter,7.3e-5/meter); +BOOST_UNITS_PHYSICAL_CONSTANT(R_infinity,quantity,10973731.568508/meter,6.5e-5/meter); /// Bohr radius -BOOST_UNITS_PHYSICAL_CONSTANT(a_0,quantity,0.52917720859e-10*meters,3.6e-20*meters); +BOOST_UNITS_PHYSICAL_CONSTANT(a_0,quantity,0.52917721067e-10*meters,1.2e-20*meters); /// Hartree energy -BOOST_UNITS_PHYSICAL_CONSTANT(E_h,quantity,4.35974394e-18*joules,2.2e-25*joules); +BOOST_UNITS_PHYSICAL_CONSTANT(E_h,quantity,4.359744650e-18*joules,5.4e-26*joules); } // namespace codata -} // namespace constants +} // namespace constants } // namespace si diff --git a/include/boost/units/systems/si/codata/deuteron_constants.hpp b/include/boost/units/systems/si/codata/deuteron_constants.hpp index 167c5767..4473e6d7 100644 --- a/include/boost/units/systems/si/codata/deuteron_constants.hpp +++ b/include/boost/units/systems/si/codata/deuteron_constants.hpp @@ -1,4 +1,4 @@ -// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel @@ -29,49 +29,46 @@ #include /// \file -/// CODATA recommended values of fundamental atomic and nuclear constants -/// CODATA 2006 values as of 2007/03/30 +/// 2014 CODATA recommended values of fundamental atomic and nuclear constants as of 2018/07/21 namespace boost { -namespace units { +namespace units { namespace si { - + namespace constants { namespace codata { -/// CODATA recommended values of the fundamental physical constants: NIST SP 961 - /// deuteron mass -BOOST_UNITS_PHYSICAL_CONSTANT(m_d,quantity,3.34358320e-27*kilograms,1.7e-34*kilograms); +BOOST_UNITS_PHYSICAL_CONSTANT(m_d,quantity,3.343583719e-27*kilograms,4.1e-35*kilograms); /// deuteron-electron mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_d_over_m_e,quantity,3670.4829654*dimensionless(),1.6e-6*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_d_over_m_e,quantity,3670.48296785*dimensionless(),1.3e-7*dimensionless()); /// deuteron-proton mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_d_over_m_p,quantity,1.99900750108*dimensionless(),2.2e-10*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_d_over_m_p,quantity,1.99900750087*dimensionless(),1.9e-10*dimensionless()); /// deuteron molar mass -BOOST_UNITS_PHYSICAL_CONSTANT(M_d,quantity,2.013553212724e-3*kilograms/mole,7.8e-14*kilograms/mole); +BOOST_UNITS_PHYSICAL_CONSTANT(M_d,quantity,2.013553212745e-3*kilograms/mole,4.0e-14*kilograms/mole); /// deuteron rms charge radius -BOOST_UNITS_PHYSICAL_CONSTANT(R_d,quantity,2.1402e-15*meters,2.8e-18*meters); +BOOST_UNITS_PHYSICAL_CONSTANT(R_d,quantity,2.1413e-15*meters,2.5e-18*meters); /// deuteron magnetic moment -BOOST_UNITS_PHYSICAL_CONSTANT(mu_d,quantity,0.433073465e-26*joules/tesla,1.1e-34*joules/tesla); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_d,quantity,0.4330735040e-26*joules/tesla,3.6e-35*joules/tesla); /// deuteron-Bohr magneton ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_B,quantity,0.4669754556e-3*dimensionless(),3.9e-12*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_B,quantity,0.4669754554e-3*dimensionless(),2.6e-12*dimensionless()); /// deuteron-nuclear magneton ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_N,quantity,0.8574382308*dimensionless(),7.2e-9*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_N,quantity,0.8574382311*dimensionless(),4.8e-9*dimensionless()); /// deuteron g-factor -BOOST_UNITS_PHYSICAL_CONSTANT(g_d,quantity,0.8574382308*dimensionless(),7.2e-9*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(g_d,quantity,0.8574382311*dimensionless(),4.8e-9*dimensionless()); /// deuteron-electron magnetic moment ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_e,quantity,-4.664345537e-4*dimensionless(),3.9e-12*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_e,quantity,-4.664345535e-4*dimensionless(),2.6e-12*dimensionless()); /// deuteron-proton magnetic moment ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_p,quantity,0.3070122070*dimensionless(),2.4e-9*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_p,quantity,0.3070122077*dimensionless(),1.5e-9*dimensionless()); /// deuteron-neutron magnetic moment ratio BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_n,quantity,-0.44820652*dimensionless(),1.1e-7*dimensionless()); } // namespace codata -} // namespace constants +} // namespace constants } // namespace si diff --git a/include/boost/units/systems/si/codata/electromagnetic_constants.hpp b/include/boost/units/systems/si/codata/electromagnetic_constants.hpp index bad7be52..1e8a9999 100644 --- a/include/boost/units/systems/si/codata/electromagnetic_constants.hpp +++ b/include/boost/units/systems/si/codata/electromagnetic_constants.hpp @@ -1,4 +1,4 @@ -// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel @@ -11,13 +11,6 @@ #ifndef BOOST_UNITS_CODATA_ELECTROMAGNETIC_CONSTANTS_HPP #define BOOST_UNITS_CODATA_ELECTROMAGNETIC_CONSTANTS_HPP -/// -/// \file -/// \brief CODATA recommended values of fundamental electromagnetic constants. -/// \details CODATA recommended values of the fundamental physical constants: NIST SP 961 -/// CODATA 2006 values as of 2007/03/30 -/// - #include #include @@ -34,37 +27,40 @@ #include +/// \file +/// 2014 CODATA recommended values of fundamental electromagnetic constants as of 2018/07/21 + namespace boost { -namespace units { +namespace units { namespace si { - + namespace constants { namespace codata { // ELECTROMAGNETIC /// elementary charge -BOOST_UNITS_PHYSICAL_CONSTANT(e,quantity,1.602176487e-19*coulombs,4.0e-27*coulombs); -/// elementary charge to Planck constant ratio -BOOST_UNITS_PHYSICAL_CONSTANT(e_over_h,quantity,2.417989454e14*amperes/joule,6.0e6*amperes/joule); +BOOST_UNITS_PHYSICAL_CONSTANT(e,quantity,1.6021766208e-19*coulombs,9.8e-28*coulombs); +/// elementary charge over Planck constant +BOOST_UNITS_PHYSICAL_CONSTANT(e_over_h,quantity,2.417989262e14*amperes/joule,1.5e6*amperes/joule); /// magnetic flux quantum -BOOST_UNITS_PHYSICAL_CONSTANT(Phi_0,quantity,2.067833667e-15*webers,5.2e-23*webers); +BOOST_UNITS_PHYSICAL_CONSTANT(Phi_0,quantity,2.067833831e-15*webers,1.3e-23*webers); /// conductance quantum -BOOST_UNITS_PHYSICAL_CONSTANT(G_0,quantity,7.7480917004e-5*siemens,5.3e-14*siemens); +BOOST_UNITS_PHYSICAL_CONSTANT(G_0,quantity,7.7480917310e-5*siemens,1.8e-14*siemens); /// Josephson constant -BOOST_UNITS_PHYSICAL_CONSTANT(K_J,quantity,483597.891e9*hertz/volt,1.2e7*hertz/volt); +BOOST_UNITS_PHYSICAL_CONSTANT(K_J,quantity,483597.8525e9*hertz/volt,3.0e6*hertz/volt); /// von Klitzing constant -BOOST_UNITS_PHYSICAL_CONSTANT(R_K,quantity,25812.807557*ohms,1.77e-5*ohms); +BOOST_UNITS_PHYSICAL_CONSTANT(R_K,quantity,25812.8074555*ohms,5.9e-6*ohms); /// Bohr magneton -BOOST_UNITS_PHYSICAL_CONSTANT(mu_B,quantity,927.400915e-26*joules/tesla,2.3e-31*joules/tesla); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_B,quantity,927.4009994e-26*joules/tesla,5.7e-32*joules/tesla); /// nuclear magneton -BOOST_UNITS_PHYSICAL_CONSTANT(mu_N,quantity,5.05078324e-27*joules/tesla,1.3e-34*joules/tesla); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_N,quantity,5.050783699e-27*joules/tesla,3.1e-35*joules/tesla); } // namespace codata -} // namespace constants +} // namespace constants } // namespace si diff --git a/include/boost/units/systems/si/codata/electron_constants.hpp b/include/boost/units/systems/si/codata/electron_constants.hpp index 4582c799..c0cfad12 100644 --- a/include/boost/units/systems/si/codata/electron_constants.hpp +++ b/include/boost/units/systems/si/codata/electron_constants.hpp @@ -1,4 +1,4 @@ -// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel @@ -29,73 +29,70 @@ #include /// \file -/// CODATA recommended values of fundamental atomic and nuclear constants -/// CODATA 2006 values as of 2007/03/30 +/// 2014 CODATA recommended values of fundamental atomic and nuclear constants as of 2018/07/21 namespace boost { -namespace units { +namespace units { namespace si { - + namespace constants { namespace codata { -/// CODATA recommended values of the fundamental physical constants: NIST SP 961 - /// electron mass -BOOST_UNITS_PHYSICAL_CONSTANT(m_e,quantity,9.10938215e-31*kilograms,4.5e-38*kilograms); +BOOST_UNITS_PHYSICAL_CONSTANT(m_e,quantity,9.10938356e-31*kilograms,1.1e-38*kilograms); /// electron-muon mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_mu,quantity,4.83633171e-3*dimensionless(),1.2e-10*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_mu,quantity,4.83633170e-3*dimensionless(),1.1e-10*dimensionless()); /// electron-tau mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_tau,quantity,2.87564e-4*dimensionless(),4.7e-8*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_tau,quantity,2.87592e-4*dimensionless(),2.6e-8*dimensionless()); /// electron-proton mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_p,quantity,5.4461702177e-4*dimensionless(),2.4e-13*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_p,quantity,5.44617021352e-4*dimensionless(),5.2e-14*dimensionless()); /// electron-neutron mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_n,quantity,5.4386734459e-4*dimensionless(),3.3e-13*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_n,quantity,5.4386734428e-4*dimensionless(),2.7e-13*dimensionless()); /// electron-deuteron mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_d,quantity,2.7244371093e-4*dimensionless(),1.2e-13*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_d,quantity,2.724437107484e-4*dimensionless(),9.6e-15*dimensionless()); /// electron-alpha particle mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_alpha,quantity,1.37093355570e-4*dimensionless(),5.8e-14*dimensionless()); -/// electron charge to mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(e_over_m_e,quantity,1.758820150e11*coulombs/kilogram,4.4e3*coulombs/kilogram); +BOOST_UNITS_PHYSICAL_CONSTANT(m_e_over_m_alpha,quantity,1.370933554798e-4*dimensionless(),4.5e-15*dimensionless()); +/// electron charge to mass quotient +BOOST_UNITS_PHYSICAL_CONSTANT(e_over_m_e,quantity,1.758820024e11*coulombs/kilogram,1.1e3*coulombs/kilogram); /// electron molar mass -BOOST_UNITS_PHYSICAL_CONSTANT(M_e,quantity,5.4857990943e-7*kilograms/mole,2.3e-16*kilograms/mole); +BOOST_UNITS_PHYSICAL_CONSTANT(M_e,quantity,5.48579909070e-7*kilograms/mole,1.6e-17*kilograms/mole); /// Compton wavelength -BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C,quantity,2.4263102175e-12*meters,3.3e-21*meters); +BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C,quantity,2.4263102367e-12*meters,1.1e-21*meters); /// classical electron radius -BOOST_UNITS_PHYSICAL_CONSTANT(r_e,quantity,2.8179402894e-15*meters,5.8e-24*meters); +BOOST_UNITS_PHYSICAL_CONSTANT(r_e,quantity,2.8179403227e-15*meters,1.9e-24*meters); /// Thompson cross section -BOOST_UNITS_PHYSICAL_CONSTANT(sigma_e,quantity,0.6652458558e-28*square_meters,2.7e-37*square_meters); +BOOST_UNITS_PHYSICAL_CONSTANT(sigma_e,quantity,0.66524587158e-28*square_meters,9.1e-38*square_meters); /// electron magnetic moment -BOOST_UNITS_PHYSICAL_CONSTANT(mu_e,quantity,-928.476377e-26*joules/tesla,2.3e-31*joules/tesla); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_e,quantity,-928.4764620e-26*joules/tesla,5.7e-32*joules/tesla); /// electron-Bohr magenton moment ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_B,quantity,-1.00115965218111*dimensionless(),7.4e-13*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_B,quantity,-1.00115965218091*dimensionless(),2.6e-13*dimensionless()); /// electron-nuclear magneton moment ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_N,quantity,-183.28197092*dimensionless(),8.0e-7*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_N,quantity,-1838.28197234*dimensionless(),1.7e-7*dimensionless()); /// electron magnetic moment anomaly -BOOST_UNITS_PHYSICAL_CONSTANT(a_e,quantity,1.15965218111e-3*dimensionless(),7.4e-13*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(a_e,quantity,1.15965218091e-3*dimensionless(),2.6e-13*dimensionless()); /// electron g-factor -BOOST_UNITS_PHYSICAL_CONSTANT(g_e,quantity,-2.0023193043622*dimensionless(),1.5e-12*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(g_e,quantity,-2.00231930436182*dimensionless(),5.2e-13*dimensionless()); /// electron-muon magnetic moment ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_mu,quantity,206.7669877*dimensionless(),5.2e-6*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_mu,quantity,206.7669880*dimensionless(),4.6e-6*dimensionless()); /// electron-proton magnetic moment ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_p,quantity,-658.2106848*dimensionless(),5.4e-6*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_p,quantity,-658.2106866*dimensionless(),2.0e-6*dimensionless()); /// electron-shielded proton magnetic moment ratio BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_p_prime,quantity,-658.2275971*dimensionless(),7.2e-6*dimensionless()); /// electron-neutron magnetic moment ratio BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_n,quantity,960.92050*dimensionless(),2.3e-4*dimensionless()); /// electron-deuteron magnetic moment ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_d,quantity,-2143.923498*dimensionless(),1.8e-5*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_d,quantity,-2143.923499*dimensionless(),1.2e-5*dimensionless()); /// electron-shielded helion magnetic moment ratio BOOST_UNITS_PHYSICAL_CONSTANT(mu_e_over_mu_h_prime,quantity,864.058257*dimensionless(),1.0e-5*dimensionless()); /// electron gyromagnetic ratio -BOOST_UNITS_PHYSICAL_CONSTANT(gamma_e,quantity,1.760859770e11/second/tesla,4.4e3/second/tesla); +BOOST_UNITS_PHYSICAL_CONSTANT(gamma_e,quantity,1.760859644e11/second/tesla,1.1e3/second/tesla); } // namespace codata -} // namespace constants +} // namespace constants } // namespace si diff --git a/include/boost/units/systems/si/codata/helion_constants.hpp b/include/boost/units/systems/si/codata/helion_constants.hpp index 4e88242d..fb163210 100644 --- a/include/boost/units/systems/si/codata/helion_constants.hpp +++ b/include/boost/units/systems/si/codata/helion_constants.hpp @@ -1,4 +1,4 @@ -// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel @@ -29,45 +29,42 @@ #include /// \file -/// CODATA recommended values of fundamental atomic and nuclear constants -/// CODATA 2006 values as of 2007/03/30 +/// 2014 CODATA recommended values of fundamental atomic and nuclear constants as of 2018/07/21 namespace boost { -namespace units { +namespace units { namespace si { - + namespace constants { namespace codata { -/// CODATA recommended values of the fundamental physical constants: NIST SP 961 - /// helion mass -BOOST_UNITS_PHYSICAL_CONSTANT(m_h,quantity,5.00641192e-27*kilograms,2.5e-34*kilograms); +BOOST_UNITS_PHYSICAL_CONSTANT(m_h,quantity,5.006412700e-27*kilograms,6.2e-35*kilograms); /// helion-electron mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_h_over_m_e,quantity,5495.8852765*dimensionless(),5.2e-6*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_h_over_m_e,quantity,5495.88527922*dimensionless(),2.7e-7*dimensionless()); /// helion-proton mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_h_over_m_p,quantity,2.9931526713*dimensionless(),2.6e-9*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_h_over_m_p,quantity,2.99315267046*dimensionless(),2.9e-10*dimensionless()); /// helion molar mass -BOOST_UNITS_PHYSICAL_CONSTANT(M_h,quantity,3.0149322473e-3*kilograms/mole,2.6e-12*kilograms/mole); +BOOST_UNITS_PHYSICAL_CONSTANT(M_h,quantity,3.01493224673e-3*kilograms/mole,1.2e-13*kilograms/mole); /// helion shielded magnetic moment -BOOST_UNITS_PHYSICAL_CONSTANT(mu_h_prime,quantity,-1.074552982e-26*joules/tesla,3.0e-34*joules/tesla); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_h_prime,quantity,-1.074553080e-26*joules/tesla,1.4e-34*joules/tesla); /// shielded helion-Bohr magneton ratio BOOST_UNITS_PHYSICAL_CONSTANT(mu_h_prime_over_mu_B,quantity,-1.158671471e-3*dimensionless(),1.4e-11*dimensionless()); /// shielded helion-nuclear magneton ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_h_prime_over_mu_N,quantity,-2.127497718*dimensionless(),2.5e-8*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_h_prime_over_mu_N,quantity,-2.127497720*dimensionless(),2.5e-8*dimensionless()); /// shielded helion-proton magnetic moment ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_h_prime_over_mu_p,quantity,-0.761766558*dimensionless(),1.1e-8*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_h_prime_over_mu_p,quantity,-0.7617665603*dimensionless(),9.2e-10*dimensionless()); /// shielded helion-shielded proton magnetic moment ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_h_prime_over_mu_p_prime,quantity,-0.7617861313*dimensionless(),3.3e-8*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_h_prime_over_mu_p_prime,quantity,-0.7617861313*dimensionless(),3.3e-9*dimensionless()); /// shielded helion gyromagnetic ratio -BOOST_UNITS_PHYSICAL_CONSTANT(gamma_h_prime,quantity,2.037894730e8/second/tesla,5.6e-0/second/tesla); +BOOST_UNITS_PHYSICAL_CONSTANT(gamma_h_prime,quantity,2.037894585e8/second/tesla,2.7e-0/second/tesla); } // namespace codata -} // namespace constants +} // namespace constants } // namespace si diff --git a/include/boost/units/systems/si/codata/muon_constants.hpp b/include/boost/units/systems/si/codata/muon_constants.hpp index c580e3c2..d7b1df8e 100644 --- a/include/boost/units/systems/si/codata/muon_constants.hpp +++ b/include/boost/units/systems/si/codata/muon_constants.hpp @@ -1,4 +1,4 @@ -// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel @@ -29,51 +29,48 @@ #include /// \file -/// CODATA recommended values of fundamental atomic and nuclear constants -/// CODATA 2006 values as of 2007/03/30 +/// 2014 CODATA recommended values of fundamental atomic and nuclear constants as of 2018/07/21 namespace boost { -namespace units { +namespace units { namespace si { - + namespace constants { namespace codata { -/// CODATA recommended values of the fundamental physical constants: NIST SP 961 - /// muon mass -BOOST_UNITS_PHYSICAL_CONSTANT(m_mu,quantity,1.88353130e-28*kilograms,1.1e-35*kilograms); +BOOST_UNITS_PHYSICAL_CONSTANT(m_mu,quantity,1.883531594e-28*kilograms,4.8e-36*kilograms); /// muon-electron mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_mu_over_m_e,quantity,206.7682823*dimensionless(),5.2e-6*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_mu_over_m_e,quantity,206.7682826*dimensionless(),4.6e-6*dimensionless()); /// muon-tau mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_mu_over_m_tau,quantity,5.94592e-2*dimensionless(),9.7e-6*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_mu_over_m_tau,quantity,5.94649e-2*dimensionless(),5.4e-6*dimensionless()); /// muon-proton mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_mu_over_m_p,quantity,0.1126095261*dimensionless(),2.9e-9*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_mu_over_m_p,quantity,0.1126095262*dimensionless(),2.5e-9*dimensionless()); /// muon-neutron mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_mu_over_m_n,quantity,0.1124545167*dimensionless(),2.9e-9*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_mu_over_m_n,quantity,0.1124545167*dimensionless(),2.5e-9*dimensionless()); /// muon molar mass -BOOST_UNITS_PHYSICAL_CONSTANT(M_mu,quantity,0.1134289256e-3*kilograms/mole,2.9e-12*kilograms/mole); +BOOST_UNITS_PHYSICAL_CONSTANT(M_mu,quantity,0.1134289257e-3*kilograms/mole,2.5e-12*kilograms/mole); /// muon Compton wavelength -BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C_mu,quantity,11.73444104e-15*meters,3.0e-22*meters); +BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C_mu,quantity,11.73444111e-15*meters,2.6e-22*meters); /// muon magnetic moment -BOOST_UNITS_PHYSICAL_CONSTANT(mu_mu,quantity,-4.49044786e-26*joules/tesla,1.6e-33*joules/tesla); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_mu,quantity,-4.49044826e-26*joules/tesla,1.0e-33*joules/tesla); /// muon-Bohr magneton ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_mu_over_mu_B,quantity,-4.84197049e-3*dimensionless(),1.2e-10*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_mu_over_mu_B,quantity,-4.84197048e-3*dimensionless(),1.1e-10*dimensionless()); /// muon-nuclear magneton ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_mu_over_mu_N,quantity,-8.89059705*dimensionless(),2.3e-7*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_mu_over_mu_N,quantity,-8.89059705*dimensionless(),2.0e-7*dimensionless()); /// muon magnetic moment anomaly -BOOST_UNITS_PHYSICAL_CONSTANT(a_mu,quantity,1.16592069e-3*dimensionless(),6.0e-10*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(a_mu,quantity,1.16592089e-3*dimensionless(),6.3e-10*dimensionless()); /// muon g-factor -BOOST_UNITS_PHYSICAL_CONSTANT(g_mu,quantity,-2.0023318414*dimensionless(),1.2e-9*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(g_mu,quantity,-2.0023318418*dimensionless(),1.3e-9*dimensionless()); /// muon-proton magnetic moment ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_mu_over_mu_p,quantity,-3.183345137*dimensionless(),8.5e-8*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_mu_over_mu_p,quantity,-3.183345142*dimensionless(),7.1e-8*dimensionless()); } // namespace codata -} // namespace constants +} // namespace constants } // namespace si diff --git a/include/boost/units/systems/si/codata/neutron_constants.hpp b/include/boost/units/systems/si/codata/neutron_constants.hpp index fb971246..5c272b8f 100644 --- a/include/boost/units/systems/si/codata/neutron_constants.hpp +++ b/include/boost/units/systems/si/codata/neutron_constants.hpp @@ -1,4 +1,4 @@ -// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel @@ -29,37 +29,34 @@ #include /// \file -/// CODATA recommended values of fundamental atomic and nuclear constants -/// CODATA 2006 values as of 2007/03/30 +/// 2014 CODATA recommended values of fundamental atomic and nuclear constants as of 2018/07/21 namespace boost { -namespace units { +namespace units { namespace si { - + namespace constants { namespace codata { -/// CODATA recommended values of the fundamental physical constants: NIST SP 961 - /// neutron mass -BOOST_UNITS_PHYSICAL_CONSTANT(m_n,quantity,1.674927211e-27*kilograms,8.4e-35*kilograms); +BOOST_UNITS_PHYSICAL_CONSTANT(m_n,quantity,1.674927471e-27*kilograms,2.1e-35*kilograms); /// neutron-electron mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_n_over_m_e,quantity,1838.6836605*dimensionless(),1.1e-6*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_n_over_m_e,quantity,1838.68366158*dimensionless(),9.0e-7*dimensionless()); /// neutron-muon mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_n_over_m_mu,quantity,8.89248409*dimensionless(),2.3e-7*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_n_over_m_mu,quantity,8.89248408*dimensionless(),2.0e-7*dimensionless()); /// neutron-tau mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_n_over_m_tau,quantity,0.528740*dimensionless(),8.6e-5*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_n_over_m_tau,quantity,0.528790*dimensionless(),4.8e-5*dimensionless()); /// neutron-proton mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_n_over_m_p,quantity,1.00137841918*dimensionless(),4.6e-10*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_n_over_m_p,quantity,1.00137841898*dimensionless(),5.1e-10*dimensionless()); /// neutron molar mass -BOOST_UNITS_PHYSICAL_CONSTANT(M_n,quantity,1.00866491597e-3*kilograms/mole,4.3e-13*kilograms/mole); +BOOST_UNITS_PHYSICAL_CONSTANT(M_n,quantity,1.00866491588e-3*kilograms/mole,4.9e-13*kilograms/mole); /// neutron Compton wavelength -BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C_n,quantity,1.3195908951e-15*meters,2.0e-24*meters); +BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C_n,quantity,1.31959090481e-15*meters,8.8e-25*meters); /// neutron magnetic moment -BOOST_UNITS_PHYSICAL_CONSTANT(mu_n,quantity,-0.96623641e-26*joules/tesla,2.3e-33*joules/tesla); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_n,quantity,-0.96623650e-26*joules/tesla,2.3e-33*joules/tesla); /// neutron g-factor BOOST_UNITS_PHYSICAL_CONSTANT(g_n,quantity,-3.82608545*dimensionless(),9.0e-7*dimensionless()); /// neutron-electron magnetic moment ratio @@ -69,11 +66,11 @@ BOOST_UNITS_PHYSICAL_CONSTANT(mu_n_over_mu_p,quantity,-0.68497934 /// neutron-shielded proton magnetic moment ratio BOOST_UNITS_PHYSICAL_CONSTANT(mu_n_over_mu_p_prime,quantity,-0.68499694*dimensionless(),1.6e-7*dimensionless()); /// neutron gyromagnetic ratio -BOOST_UNITS_PHYSICAL_CONSTANT(gamma_n,quantity,1.83247185e8/second/tesla,4.3e1/second/tesla); +BOOST_UNITS_PHYSICAL_CONSTANT(gamma_n,quantity,1.83247172e8/second/tesla,4.3e1/second/tesla); } // namespace codata -} // namespace constants +} // namespace constants } // namespace si diff --git a/include/boost/units/systems/si/codata/physico-chemical_constants.hpp b/include/boost/units/systems/si/codata/physico-chemical_constants.hpp index e9ed035f..2cf274b7 100644 --- a/include/boost/units/systems/si/codata/physico-chemical_constants.hpp +++ b/include/boost/units/systems/si/codata/physico-chemical_constants.hpp @@ -1,4 +1,4 @@ -// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel @@ -29,15 +29,14 @@ #include /// \file -/// CODATA recommended values of fundamental physico-chemical constants -/// CODATA 2014 values as of 2016/04/26 +/// 2014 CODATA recommended values of fundamental physico-chemical constants as of 2018/07/21 namespace boost { -namespace units { +namespace units { namespace si { - + namespace constants { namespace codata { @@ -68,7 +67,7 @@ BOOST_UNITS_PHYSICAL_CONSTANT(b_prime,quantity,5.878 } // namespace codata -} // namespace constants +} // namespace constants } // namespace si diff --git a/include/boost/units/systems/si/codata/proton_constants.hpp b/include/boost/units/systems/si/codata/proton_constants.hpp index 78cce8c1..a79d4b87 100644 --- a/include/boost/units/systems/si/codata/proton_constants.hpp +++ b/include/boost/units/systems/si/codata/proton_constants.hpp @@ -1,4 +1,4 @@ -// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel @@ -29,65 +29,62 @@ #include /// \file -/// CODATA recommended values of fundamental atomic and nuclear constants -/// CODATA 2006 values as of 2007/03/30 +/// 2014 CODATA recommended values of fundamental atomic and nuclear constants as of 2018/07/21 namespace boost { -namespace units { +namespace units { namespace si { - + namespace constants { namespace codata { -/// CODATA recommended values of the fundamental physical constants: NIST SP 961 - /// proton mass -BOOST_UNITS_PHYSICAL_CONSTANT(m_p,quantity,1.672621637e-27*kilograms,8.3e-35*kilograms); +BOOST_UNITS_PHYSICAL_CONSTANT(m_p,quantity,1.672621898e-27*kilograms,2.1e-35*kilograms); /// proton-electron mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_e,quantity,1836.15267247*dimensionless(),8.0e-7*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_e,quantity,1836.15267389*dimensionless(),1.7e-7*dimensionless()); /// proton-muon mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_mu,quantity,8.88024339*dimensionless(),2.3e-7*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_mu,quantity,8.88024338*dimensionless(),2.0e-7*dimensionless()); /// proton-tau mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_tau,quantity,0.528012*dimensionless(),8.6e-5*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_tau,quantity,0.528063*dimensionless(),4.8e-5*dimensionless()); /// proton-neutron mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_n,quantity,0.99862347824*dimensionless(),4.6e-10*dimensionless()); -/// proton charge to mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(e_over_m_p,quantity,9.57883392e7*coulombs/kilogram,2.4e0*coulombs/kilogram); +BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_n,quantity,0.99862347844*dimensionless(),5.1e-10*dimensionless()); +/// proton charge to mass quotient +BOOST_UNITS_PHYSICAL_CONSTANT(e_over_m_p,quantity,9.578833226e7*coulombs/kilogram,5.9e-1*coulombs/kilogram); /// proton molar mass -BOOST_UNITS_PHYSICAL_CONSTANT(M_p,quantity,1.00727646677e-3*kilograms/mole,1.0e-13*kilograms/mole); +BOOST_UNITS_PHYSICAL_CONSTANT(M_p,quantity,1.007276466879e-3*kilograms/mole,9.1e-14*kilograms/mole); /// proton Compton wavelength -BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C_p,quantity,1.3214098446e-15*meters,1.9e-24*meters); +BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C_p,quantity,1.32140985396e-15*meters,6.1e-25*meters); /// proton rms charge radius -BOOST_UNITS_PHYSICAL_CONSTANT(R_p,quantity,0.8768e-15*meters,6.9e-18*meters); +BOOST_UNITS_PHYSICAL_CONSTANT(R_p,quantity,0.8751e-15*meters,6.1e-18*meters); /// proton magnetic moment -BOOST_UNITS_PHYSICAL_CONSTANT(mu_p,quantity,1.410606662e-26*joules/tesla,3.7e-34*joules/tesla); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_p,quantity,1.4106067873e-26*joules/tesla,9.7e-35*joules/tesla); /// proton-Bohr magneton ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_over_mu_B,quantity,1.521032209e-3*dimensionless(),1.2e-11*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_over_mu_B,quantity,1.5210322053e-3*dimensionless(),4.6e-12*dimensionless()); /// proton-nuclear magneton ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_over_mu_N,quantity,2.792847356*dimensionless(),2.3e-8*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_over_mu_N,quantity,2.7928473508*dimensionless(),8.5e-9*dimensionless()); /// proton g-factor -BOOST_UNITS_PHYSICAL_CONSTANT(g_p,quantity,5.585694713*dimensionless(),4.6e-8*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(g_p,quantity,5.585694702*dimensionless(),1.7e-8*dimensionless()); /// proton-neutron magnetic moment ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_over_mu_n,quantity,-1.45989806*dimensionless(),3.4e-7*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_over_mu_n,quantity,-1.45989805*dimensionless(),3.4e-7*dimensionless()); /// shielded proton magnetic moment -BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_prime,quantity,1.410570419e-26*joules/tesla,3.8e-34*joules/tesla); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_prime,quantity,1.410570547e-26*joules/tesla,1.8e-34*joules/tesla); /// shielded proton-Bohr magneton ratio BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_prime_over_mu_B,quantity,1.520993128e-3*dimensionless(),1.7e-11*dimensionless()); /// shielded proton-nuclear magneton ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_prime_over_mu_N,quantity,2.792775598*dimensionless(),3.0e-8*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_prime_over_mu_N,quantity,2.792775600*dimensionless(),3.0e-8*dimensionless()); /// proton magnetic shielding correction -BOOST_UNITS_PHYSICAL_CONSTANT(sigma_p_prime,quantity,25.694e-6*dimensionless(),1.4e-8*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(sigma_p_prime,quantity,25.691e-6*dimensionless(),1.1e-8*dimensionless()); /// proton gyromagnetic ratio -BOOST_UNITS_PHYSICAL_CONSTANT(gamma_p,quantity,2.675222099e8/second/tesla,7.0e0/second/tesla); +BOOST_UNITS_PHYSICAL_CONSTANT(gamma_p,quantity,2.675221900e8/second/tesla,1.8e0/second/tesla); /// shielded proton gyromagnetic ratio -BOOST_UNITS_PHYSICAL_CONSTANT(gamma_p_prime,quantity,2.675153362e8/second/tesla,7.3e0/second/tesla); +BOOST_UNITS_PHYSICAL_CONSTANT(gamma_p_prime,quantity,2.675153171e8/second/tesla,3.3e0/second/tesla); } // namespace codata -} // namespace constants +} // namespace constants } // namespace si diff --git a/include/boost/units/systems/si/codata/tau_constants.hpp b/include/boost/units/systems/si/codata/tau_constants.hpp index ea047bcd..c1dc6d29 100644 --- a/include/boost/units/systems/si/codata/tau_constants.hpp +++ b/include/boost/units/systems/si/codata/tau_constants.hpp @@ -1,4 +1,4 @@ -// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel @@ -29,39 +29,36 @@ #include /// \file -/// CODATA recommended values of fundamental atomic and nuclear constants -/// CODATA 2006 values as of 2007/03/30 +/// 2014 CODATA recommended values of fundamental atomic and nuclear constants as of 2018/07/21 namespace boost { -namespace units { +namespace units { namespace si { - + namespace constants { namespace codata { -/// CODATA recommended values of the fundamental physical constants: NIST SP 961 - /// tau mass -BOOST_UNITS_PHYSICAL_CONSTANT(m_tau,quantity,3.16777e-27*kilograms,5.2e-31*kilograms); +BOOST_UNITS_PHYSICAL_CONSTANT(m_tau,quantity,3.16747e-27*kilograms,2.9e-31*kilograms); /// tau-electron mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_tau_over_m_e,quantity,3477.48*dimensionless(),5.7e-1*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_tau_over_m_e,quantity,3477.15*dimensionless(),3.1e-1*dimensionless()); /// tau-muon mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_tau_over_m_mu,quantity,16.8183*dimensionless(),2.7e-3*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_tau_over_m_mu,quantity,16.8167*dimensionless(),1.5e-3*dimensionless()); /// tau-proton mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_tau_over_m_p,quantity,1.89390*dimensionless(),3.1e-4*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_tau_over_m_p,quantity,1.89372*dimensionless(),1.7e-4*dimensionless()); /// tau-neutron mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_tau_over_m_n,quantity,1.89129*dimensionless(),3.1e-4*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_tau_over_m_n,quantity,1.89111*dimensionless(),1.7e-4*dimensionless()); /// tau molar mass -BOOST_UNITS_PHYSICAL_CONSTANT(M_tau,quantity,1.90768e-3*kilograms/mole,3.1e-7*kilograms/mole); +BOOST_UNITS_PHYSICAL_CONSTANT(M_tau,quantity,1.90749e-3*kilograms/mole,1.7e-7*kilograms/mole); /// tau Compton wavelength -BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C_tau,quantity,0.69772e-15*meters,1.1e-19*meters); +BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C_tau,quantity,0.697787e-15*meters,6.3e-20*meters); } // namespace codata -} // namespace constants +} // namespace constants } // namespace si diff --git a/include/boost/units/systems/si/codata/triton_constants.hpp b/include/boost/units/systems/si/codata/triton_constants.hpp index 58660827..a55c4ae6 100644 --- a/include/boost/units/systems/si/codata/triton_constants.hpp +++ b/include/boost/units/systems/si/codata/triton_constants.hpp @@ -1,4 +1,4 @@ -// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel @@ -29,47 +29,45 @@ #include /// \file -/// CODATA recommended values of fundamental atomic and nuclear constants -/// CODATA 2006 values as of 2007/03/30 +/// 2014 CODATA recommended values of fundamental atomic and nuclear constants as of 2018/07/21 namespace boost { -namespace units { +namespace units { namespace si { - + namespace constants { namespace codata { -/// CODATA recommended values of the fundamental physical constants: NIST SP 961 - /// triton mass -BOOST_UNITS_PHYSICAL_CONSTANT(m_t,quantity,5.00735588e-27*kilograms,2.5e-34*kilograms); +BOOST_UNITS_PHYSICAL_CONSTANT(m_t,quantity,5.007356665e-27*kilograms,6.2e-35*kilograms); /// triton-electron mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_t_over_m_e,quantity,5496.9215269*dimensionless(),5.1e-6*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_t_over_m_e,quantity,5496.92153588*dimensionless(),2.6e-7*dimensionless()); /// triton-proton mass ratio -BOOST_UNITS_PHYSICAL_CONSTANT(m_t_over_m_p,quantity,2.9937170309*dimensionless(),2.5e-9*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(m_t_over_m_p,quantity,2.99371703348*dimensionless(),2.2e-9*dimensionless()); /// triton molar mass -BOOST_UNITS_PHYSICAL_CONSTANT(M_t,quantity,3.0155007134e-3*kilograms/mole,2.5e-12*kilograms/mole); +BOOST_UNITS_PHYSICAL_CONSTANT(M_t,quantity,3.01550071632e-3*kilograms/mole,1.1e-13*kilograms/mole); /// triton magnetic moment -BOOST_UNITS_PHYSICAL_CONSTANT(mu_t,quantity,1.504609361e-26*joules/tesla,4.2e-34*joules/tesla); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_t,quantity,1.504609503e-26*joules/tesla,1.2e-34*joules/tesla); /// triton-Bohr magneton ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_B,quantity,1.622393657e-3*dimensionless(),2.1e-11*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_B,quantity,1.6223936616e-3*dimensionless(),7.6e-12*dimensionless()); /// triton-nuclear magneton ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_N,quantity,2.978962448*dimensionless(),3.8e-8*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_N,quantity,2.978962460*dimensionless(),1.4e-8*dimensionless()); /// triton g-factor -BOOST_UNITS_PHYSICAL_CONSTANT(g_t,quantity,5.957924896*dimensionless(),7.6e-8*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(g_t,quantity,5.957924920*dimensionless(),2.8e-8*dimensionless()); /// triton-electron magnetic moment ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_e,quantity,-1.620514423e-3*dimensionless(),2.1e-11*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_e,quantity,-1.620514428e-3*dimensionless(),1.6e-11*dimensionless()); /// triton-proton magnetic moment ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_p,quantity,1.066639908*dimensionless(),1.0e-8*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_p,quantity,1.066639915*dimensionless(),1.1e-8*dimensionless()); /// triton-neutron magnetic moment ratio -BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_n,quantity,-1.55718553*dimensionless(),3.7e-7*dimensionless()); +BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_n,quantity,-1.55718554*dimensionless(),3.7e-7*dimensionless()); + } // namespace codata -} // namespace constants +} // namespace constants } // namespace si diff --git a/include/boost/units/systems/si/codata/universal_constants.hpp b/include/boost/units/systems/si/codata/universal_constants.hpp index 9aa64c4a..b7362b95 100644 --- a/include/boost/units/systems/si/codata/universal_constants.hpp +++ b/include/boost/units/systems/si/codata/universal_constants.hpp @@ -1,4 +1,4 @@ -// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel @@ -29,21 +29,18 @@ #include /// \file -/// CODATA recommended values of fundamental universal constants -/// using CODATA 2006 values as of 2007/03/30 +/// 2014 CODATA recommended values of fundamental universal constants as of 2018/07/21 namespace boost { -namespace units { +namespace units { namespace si { - + namespace constants { namespace codata { -/// CODATA recommended values of the fundamental physical constants: NIST SP 961 - // UNIVERSAL /// speed of light BOOST_UNITS_PHYSICAL_CONSTANT(c,quantity,299792458.0*meters/second,0.0*meters/second); @@ -54,23 +51,23 @@ BOOST_UNITS_PHYSICAL_CONSTANT(epsilon_0,quantity,8.8541 /// characteristic impedance of vacuum BOOST_UNITS_PHYSICAL_CONSTANT(Z_0,quantity,376.7303134617706554681984004203193082686*ohm,0.0*ohm); /// Newtonian constant of gravitation -BOOST_UNITS_PHYSICAL_CONSTANT(G,quantity,6.67428e-11*cubic_meters/kilogram/second/second,6.7e-15*cubic_meters/kilogram/second/second); +BOOST_UNITS_PHYSICAL_CONSTANT(G,quantity,6.67408e-11*cubic_meters/kilogram/second/second,3.1e-15*cubic_meters/kilogram/second/second); /// Planck constant -BOOST_UNITS_PHYSICAL_CONSTANT(h,quantity,6.62606896e-34*joule*seconds,3.3e-41*joule*seconds); +BOOST_UNITS_PHYSICAL_CONSTANT(h,quantity,6.626070040e-34*joule*seconds,8.1e-42*joule*seconds); /// Dirac constant -BOOST_UNITS_PHYSICAL_CONSTANT(hbar,quantity,1.054571628e-34*joule*seconds,5.3e-42*joule*seconds); +BOOST_UNITS_PHYSICAL_CONSTANT(hbar,quantity,1.054571800e-34*joule*seconds,1.3e-42*joule*seconds); /// Planck mass -BOOST_UNITS_PHYSICAL_CONSTANT(m_P,quantity,2.17644e-8*kilograms,1.1e-12*kilograms); +BOOST_UNITS_PHYSICAL_CONSTANT(m_P,quantity,2.176470e-8*kilograms,5.1e-13*kilograms); /// Planck temperature -BOOST_UNITS_PHYSICAL_CONSTANT(T_P,quantity,1.416785e32*kelvin,7.1e27*kelvin); +BOOST_UNITS_PHYSICAL_CONSTANT(T_P,quantity,1.416808e32*kelvin,3.3e27*kelvin); /// Planck length -BOOST_UNITS_PHYSICAL_CONSTANT(l_P,quantity,1.616252e-35*meters,8.1e-40*meters); +BOOST_UNITS_PHYSICAL_CONSTANT(l_P,quantity,1.616229e-35*meters,3.8e-40*meters); /// Planck time -BOOST_UNITS_PHYSICAL_CONSTANT(t_P,quantity