Update of /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/codata In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31276/systems/si/codata Modified Files: atomic_and_nuclear_constants.hpp electromagnetic_constants.hpp physico-chemical_constants.hpp universal_constants.hpp Log Message: remove measurement.hpp Index: universal_constants.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/codata/universal_constants.hpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- universal_constants.hpp 3 Apr 2007 23:14:00 -0000 1.4 +++ universal_constants.hpp 5 Apr 2007 21:08:54 -0000 1.5 @@ -13,10 +13,9 @@ #if BOOST_UNITS_HAS_TYPEOF -#include <boost/units/measurement.hpp> #include <boost/units/static_constant.hpp> -//#include <boost/units/systems/si.hpp> +#include <boost/units/systems/si/constants.hpp> #include <boost/units/systems/si/capacitance.hpp> #include <boost/units/systems/si/current.hpp> #include <boost/units/systems/si/energy.hpp> @@ -46,27 +45,27 @@ // UNIVERSAL /// speed of light -BOOST_UNITS_AUTO_STATIC_CONSTANT(c,(measurement<double>(299792458.0,0.0)*meters/second)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(c,(value_and_uncertainty<double>(299792458.0,0.0)*meters/second)); /// magnetic constant (exactly 4 pi x 10^(-7) - error is due to finite precision of pi) -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_0,(measurement<double>(12.56637061435917295385057353311801153679e-7,0.0)*newtons/ampere/ampere)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_0,(value_and_uncertainty<double>(12.56637061435917295385057353311801153679e-7,0.0)*newtons/ampere/ampere)); /// electric constant -BOOST_UNITS_AUTO_STATIC_CONSTANT(epsilon_0,(measurement<double>(8.854187817620389850536563031710750260608e-12,0.0)*farad/meter)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(epsilon_0,(value_and_uncertainty<double>(8.854187817620389850536563031710750260608e-12,0.0)*farad/meter)); /// characteristic impedance of vacuum -BOOST_UNITS_AUTO_STATIC_CONSTANT(Z_0,(measurement<double>(376.7303134617706554681984004203193082686,0.0)*ohm)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(Z_0,(value_and_uncertainty<double>(376.7303134617706554681984004203193082686,0.0)*ohm)); /// Newtonian constant of gravitation -BOOST_UNITS_AUTO_STATIC_CONSTANT(G,(measurement<double>(6.67428e-11,6.7e-15)*cubic_meters/kilogram/second/second)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(G,(value_and_uncertainty<double>(6.67428e-11,6.7e-15)*cubic_meters/kilogram/second/second)); /// Planck constant -BOOST_UNITS_AUTO_STATIC_CONSTANT(h,(measurement<double>(6.62606896e-34,3.3e-41)*joule*seconds)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(h,(value_and_uncertainty<double>(6.62606896e-34,3.3e-41)*joule*seconds)); /// Dirac constant -BOOST_UNITS_AUTO_STATIC_CONSTANT(hbar,(measurement<double>(1.054571628e-34,5.3e-42)*joule*seconds)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(hbar,(value_and_uncertainty<double>(1.054571628e-34,5.3e-42)*joule*seconds)); /// Planck mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_P,(measurement<double>(2.17644e-8,1.1e-12)*kilograms)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_P,(value_and_uncertainty<double>(2.17644e-8,1.1e-12)*kilograms)); /// Planck temperature -BOOST_UNITS_AUTO_STATIC_CONSTANT(T_P,(measurement<double>(1.416785e32,7.1e27)*kelvin)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(T_P,(value_and_uncertainty<double>(1.416785e32,7.1e27)*kelvin)); /// Planck length -BOOST_UNITS_AUTO_STATIC_CONSTANT(l_P,(measurement<double>(1.616252e-35,8.1e-40)*meters)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(l_P,(value_and_uncertainty<double>(1.616252e-35,8.1e-40)*meters)); /// Planck time -BOOST_UNITS_AUTO_STATIC_CONSTANT(t_P,(measurement<double>(5.39124e-44,2.7e-48)*seconds)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(t_P,(value_and_uncertainty<double>(5.39124e-44,2.7e-48)*seconds)); } // namespace CODATA Index: physico-chemical_constants.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/codata/physico-chemical_constants.hpp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- physico-chemical_constants.hpp 3 Apr 2007 23:14:00 -0000 1.5 +++ physico-chemical_constants.hpp 5 Apr 2007 21:08:54 -0000 1.6 @@ -13,10 +13,9 @@ #if BOOST_UNITS_HAS_TYPEOF -#include <boost/units/measurement.hpp> #include <boost/units/static_constant.hpp> -//#include <boost/units/systems/si.hpp> +#include <boost/units/systems/si/constants.hpp> #include <boost/units/systems/si/amount.hpp> #include <boost/units/systems/si/area.hpp> #include <boost/units/systems/si/electric_charge.hpp> @@ -43,27 +42,27 @@ // PHYSICO-CHEMICAL /// Avogadro constant -BOOST_UNITS_AUTO_STATIC_CONSTANT(N_A,(measurement<double>(6.02214179e23,3.0e16)/mole)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(N_A,(value_and_uncertainty<double>(6.02214179e23,3.0e16)/mole)); /// atomic mass constant -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_u,(measurement<double>(1.660538782e-27,8.3e-35)*kilograms)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_u,(value_and_uncertainty<double>(1.660538782e-27,8.3e-35)*kilograms)); /// Faraday constant -BOOST_UNITS_AUTO_STATIC_CONSTANT(F,(measurement<double>(96485.3399,2.4e-3)*coulombs/mole)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(F,(value_and_uncertainty<double>(96485.3399,2.4e-3)*coulombs/mole)); /// molar gas constant -BOOST_UNITS_AUTO_STATIC_CONSTANT(R,(measurement<double>(8.314472,1.5e-5)*joules/kelvin/mole)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(R,(value_and_uncertainty<double>(8.314472,1.5e-5)*joules/kelvin/mole)); /// Boltzmann constant -BOOST_UNITS_AUTO_STATIC_CONSTANT(k_B,(measurement<double>(1.3806504e-23,2.4e-29)*joules/kelvin)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(k_B,(value_and_uncertainty<double>(1.3806504e-23,2.4e-29)*joules/kelvin)); /// Stefan-Boltzmann constant -BOOST_UNITS_AUTO_STATIC_CONSTANT(sigma_SB,(measurement<double>(5.670400e-8,4.0e-13)*watts/square_meter/pow<4>(kelvin))); +BOOST_UNITS_AUTO_STATIC_CONSTANT(sigma_SB,(value_and_uncertainty<double>(5.670400e-8,4.0e-13)*watts/square_meter/pow<4>(kelvin))); /// first radiation constant -BOOST_UNITS_AUTO_STATIC_CONSTANT(c_1,(measurement<double>(3.74177118e-16,1.9e-23)*watt*square_meters)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(c_1,(value_and_uncertainty<double>(3.74177118e-16,1.9e-23)*watt*square_meters)); /// first radiation constant for spectral radiance -BOOST_UNITS_AUTO_STATIC_CONSTANT(c_1L,(measurement<double>(1.191042759e-16,5.9e-24)*watt*square_meters/steradian)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(c_1L,(value_and_uncertainty<double>(1.191042759e-16,5.9e-24)*watt*square_meters/steradian)); /// second radiation constant -BOOST_UNITS_AUTO_STATIC_CONSTANT(c_2,(measurement<double>(1.4387752e-2,2.5e-8)*meter*kelvin)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(c_2,(value_and_uncertainty<double>(1.4387752e-2,2.5e-8)*meter*kelvin)); /// Wien displacement law constant : lambda_max T -BOOST_UNITS_AUTO_STATIC_CONSTANT(b,(measurement<double>(2.8977685e-3,5.1e-9)*meter*kelvin)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(b,(value_and_uncertainty<double>(2.8977685e-3,5.1e-9)*meter*kelvin)); /// Wien displacement law constant : nu_max/T -BOOST_UNITS_AUTO_STATIC_CONSTANT(b_prime,(measurement<double>(5.878933e10,1.0e15)*hertz/kelvin)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(b_prime,(value_and_uncertainty<double>(5.878933e10,1.0e15)*hertz/kelvin)); } // namespace CODATA Index: atomic_and_nuclear_constants.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/codata/atomic_and_nuclear_constants.hpp,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- atomic_and_nuclear_constants.hpp 3 Apr 2007 23:14:00 -0000 1.6 +++ atomic_and_nuclear_constants.hpp 5 Apr 2007 21:08:54 -0000 1.7 @@ -13,10 +13,9 @@ #if BOOST_UNITS_HAS_TYPEOF -#include <boost/units/measurement.hpp> #include <boost/units/static_constant.hpp> -//#include <boost/units/systems/si.hpp> +#include <boost/units/systems/si/constants.hpp> #include <boost/units/systems/si/amount.hpp> #include <boost/units/systems/si/area.hpp> #include <boost/units/systems/si/electric_charge.hpp> @@ -44,250 +43,250 @@ // ATOMIC AND NUCLEAR /// fine structure constant -BOOST_UNITS_AUTO_STATIC_CONSTANT(alpha,(measurement<double>(7.2973525376e-3,5.0e-12)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(alpha,(value_and_uncertainty<double>(7.2973525376e-3,5.0e-12)*dimensionless())); /// Rydberg constant -BOOST_UNITS_AUTO_STATIC_CONSTANT(R_infinity,(measurement<double>(10973731.568527,7.3e-5)/meter)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(R_infinity,(value_and_uncertainty<double>(10973731.568527,7.3e-5)/meter)); /// Bohr radius -BOOST_UNITS_AUTO_STATIC_CONSTANT(a_0,(measurement<double>(0.52917720859e-10,3.6e-20)*meters)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(a_0,(value_and_uncertainty<double>(0.52917720859e-10,3.6e-20)*meters)); /// Hartree energy -BOOST_UNITS_AUTO_STATIC_CONSTANT(E_h,(measurement<double>(4.35974394e-18,2.2e-25)*joules)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(E_h,(value_and_uncertainty<double>(4.35974394e-18,2.2e-25)*joules)); /// electron mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_e,(measurement<double>(9.10938215e-31,4.5e-38)*kilograms)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_e,(value_and_uncertainty<double>(9.10938215e-31,4.5e-38)*kilograms)); /// electron-muon mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_e_over_m_mu,(measurement<double>(4.83633171e-3,1.2e-10)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_e_over_m_mu,(value_and_uncertainty<double>(4.83633171e-3,1.2e-10)*dimensionless())); /// electron-tau mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_e_over_m_tau,(measurement<double>(2.87564e-4,4.7e-8)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_e_over_m_tau,(value_and_uncertainty<double>(2.87564e-4,4.7e-8)*dimensionless())); /// electron-proton mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_e_over_m_p,(measurement<double>(5.4461702177e-4,2.4e-13)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_e_over_m_p,(value_and_uncertainty<double>(5.4461702177e-4,2.4e-13)*dimensionless())); /// electron-neutron mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_e_over_m_n,(measurement<double>(5.4386734459e-4,3.3e-13)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_e_over_m_n,(value_and_uncertainty<double>(5.4386734459e-4,3.3e-13)*dimensionless())); /// electron-deuteron mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_e_over_m_d,(measurement<double>(2.7244371093e-4,1.2e-13)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_e_over_m_d,(value_and_uncertainty<double>(2.7244371093e-4,1.2e-13)*dimensionless())); /// electron-alpha particle mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_e_over_m_alpha,(measurement<double>(1.37093355570e-4,5.8e-14)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_e_over_m_alpha,(value_and_uncertainty<double>(1.37093355570e-4,5.8e-14)*dimensionless())); /// electron charge to mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(e_over_m_e,(measurement<double>(1.758820150e11,4.4e3)*coulombs/kilogram)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(e_over_m_e,(value_and_uncertainty<double>(1.758820150e11,4.4e3)*coulombs/kilogram)); /// electron molar mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(M_e,(measurement<double>(5.4857990943e-7,2.3e-16)*kilograms/mole)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(M_e,(value_and_uncertainty<double>(5.4857990943e-7,2.3e-16)*kilograms/mole)); /// Compton wavelength -BOOST_UNITS_AUTO_STATIC_CONSTANT(lambda_C,(measurement<double>(2.4263102175e-12,3.3e-21)*meters)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(lambda_C,(value_and_uncertainty<double>(2.4263102175e-12,3.3e-21)*meters)); /// classical electron radius -BOOST_UNITS_AUTO_STATIC_CONSTANT(r_e,(measurement<double>(2.8179402894e-15,5.8e-24)*meters)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(r_e,(value_and_uncertainty<double>(2.8179402894e-15,5.8e-24)*meters)); /// Thompson cross section -BOOST_UNITS_AUTO_STATIC_CONSTANT(sigma_e,(measurement<double>(0.6652458558e-28,2.7e-37)*square_meters)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(sigma_e,(value_and_uncertainty<double>(0.6652458558e-28,2.7e-37)*square_meters)); /// electron magnetic moment -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_e,(measurement<double>(-928.476377e-26,2.3e-31)*joules/tesla)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_e,(value_and_uncertainty<double>(-928.476377e-26,2.3e-31)*joules/tesla)); /// electron-Bohr magenton moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_e_over_mu_B,(measurement<double>(-1.00115965218111,7.4e-13)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_e_over_mu_B,(value_and_uncertainty<double>(-1.00115965218111,7.4e-13)*dimensionless())); /// electron-nuclear magneton moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_e_over_mu_N,(measurement<double>(-183.28197092,8.0e-7)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_e_over_mu_N,(value_and_uncertainty<double>(-183.28197092,8.0e-7)*dimensionless())); /// electron magnetic moment anomaly -BOOST_UNITS_AUTO_STATIC_CONSTANT(a_e,(measurement<double>(1.15965218111e-3,7.4e-13)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(a_e,(value_and_uncertainty<double>(1.15965218111e-3,7.4e-13)*dimensionless())); /// electron g-factor -BOOST_UNITS_AUTO_STATIC_CONSTANT(g_e,(measurement<double>(-2.0023193043622,1.5e-12)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(g_e,(value_and_uncertainty<double>(-2.0023193043622,1.5e-12)*dimensionless())); /// electron-muon magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_e_over_mu_mu,(measurement<double>(206.7669877,5.2e-6)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_e_over_mu_mu,(value_and_uncertainty<double>(206.7669877,5.2e-6)*dimensionless())); /// electron-proton magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_e_over_mu_p,(measurement<double>(-658.2106848,5.4e-6)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_e_over_mu_p,(value_and_uncertainty<double>(-658.2106848,5.4e-6)*dimensionless())); /// electron-shielded proton magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_e_over_mu_p_prime,(measurement<double>(-658.2275971,7.2e-6)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_e_over_mu_p_prime,(value_and_uncertainty<double>(-658.2275971,7.2e-6)*dimensionless())); /// electron-neutron magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_e_over_mu_n,(measurement<double>(960.92050,2.3e-4)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_e_over_mu_n,(value_and_uncertainty<double>(960.92050,2.3e-4)*dimensionless())); /// electron-deuteron magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_e_over_mu_d,(measurement<double>(-2143.923498,1.8e-5)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_e_over_mu_d,(value_and_uncertainty<double>(-2143.923498,1.8e-5)*dimensionless())); /// electron-shielded helion magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_e_over_mu_h_prime,(measurement<double>(864.058257,1.0e-5)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_e_over_mu_h_prime,(value_and_uncertainty<double>(864.058257,1.0e-5)*dimensionless())); /// electron gyromagnetic ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(gamma_e,(measurement<double>(1.760859770e11,4.4e3)/second/tesla)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(gamma_e,(value_and_uncertainty<double>(1.760859770e11,4.4e3)/second/tesla)); /// muon mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_mu,(measurement<double>(1.88353130e-28,1.1e-35)*kilograms)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_mu,(value_and_uncertainty<double>(1.88353130e-28,1.1e-35)*kilograms)); /// muon-electron mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_mu_over_m_e,(measurement<double>(206.7682823,5.2e-6)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_mu_over_m_e,(value_and_uncertainty<double>(206.7682823,5.2e-6)*dimensionless())); /// muon-tau mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_mu_over_m_tau,(measurement<double>(5.94592e-2,9.7e-6)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_mu_over_m_tau,(value_and_uncertainty<double>(5.94592e-2,9.7e-6)*dimensionless())); /// muon-proton mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_mu_over_m_p,(measurement<double>(0.1126095261,2.9e-9)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_mu_over_m_p,(value_and_uncertainty<double>(0.1126095261,2.9e-9)*dimensionless())); /// muon-neutron mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_mu_over_m_n,(measurement<double>(0.1124545167,2.9e-9)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_mu_over_m_n,(value_and_uncertainty<double>(0.1124545167,2.9e-9)*dimensionless())); /// muon molar mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(M_mu,(measurement<double>(0.1134289256e-3,2.9e-12)*kilograms/mole)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(M_mu,(value_and_uncertainty<double>(0.1134289256e-3,2.9e-12)*kilograms/mole)); /// muon Compton wavelength -BOOST_UNITS_AUTO_STATIC_CONSTANT(lambda_C_mu,(measurement<double>(11.73444104e-15,3.0e-22)*meters)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(lambda_C_mu,(value_and_uncertainty<double>(11.73444104e-15,3.0e-22)*meters)); /// muon magnetic moment -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_mu,(measurement<double>(-4.49044786e-26,1.6e-33)*joules/tesla)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_mu,(value_and_uncertainty<double>(-4.49044786e-26,1.6e-33)*joules/tesla)); /// muon-Bohr magneton ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_mu_over_mu_B,(measurement<double>(-4.84197049e-3,1.2e-10)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_mu_over_mu_B,(value_and_uncertainty<double>(-4.84197049e-3,1.2e-10)*dimensionless())); /// muon-nuclear magneton ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_mu_over_mu_N,(measurement<double>(-8.89059705,2.3e-7)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_mu_over_mu_N,(value_and_uncertainty<double>(-8.89059705,2.3e-7)*dimensionless())); /// muon magnetic moment anomaly -BOOST_UNITS_AUTO_STATIC_CONSTANT(a_mu,(measurement<double>(1.16592069e-3,6.0e-10)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(a_mu,(value_and_uncertainty<double>(1.16592069e-3,6.0e-10)*dimensionless())); /// muon g-factor -BOOST_UNITS_AUTO_STATIC_CONSTANT(g_mu,(measurement<double>(-2.0023318414,1.2e-9)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(g_mu,(value_and_uncertainty<double>(-2.0023318414,1.2e-9)*dimensionless())); /// muon-proton magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_mu_over_mu_p,(measurement<double>(-3.183345137,8.5e-8)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_mu_over_mu_p,(value_and_uncertainty<double>(-3.183345137,8.5e-8)*dimensionless())); /// tau mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_tau,(measurement<double>(3.16777e-27,5.2e-31)*kilograms)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_tau,(value_and_uncertainty<double>(3.16777e-27,5.2e-31)*kilograms)); /// tau-electron mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_tau_over_m_e,(measurement<double>(3477.48,5.7e-1)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_tau_over_m_e,(value_and_uncertainty<double>(3477.48,5.7e-1)*dimensionless())); /// tau-muon mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_tau_over_m_mu,(measurement<double>(16.8183,2.7e-3)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_tau_over_m_mu,(value_and_uncertainty<double>(16.8183,2.7e-3)*dimensionless())); /// tau-proton mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_tau_over_m_p,(measurement<double>(1.89390,3.1e-4)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_tau_over_m_p,(value_and_uncertainty<double>(1.89390,3.1e-4)*dimensionless())); /// tau-neutron mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_tau_over_m_n,(measurement<double>(1.89129,3.1e-4)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_tau_over_m_n,(value_and_uncertainty<double>(1.89129,3.1e-4)*dimensionless())); /// tau molar mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(M_tau,(measurement<double>(1.90768e-3,3.1e-7)*kilograms/mole)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(M_tau,(value_and_uncertainty<double>(1.90768e-3,3.1e-7)*kilograms/mole)); /// tau Compton wavelength -BOOST_UNITS_AUTO_STATIC_CONSTANT(lambda_C_tau,(measurement<double>(0.69772e-15,1.1e-19)*meters)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(lambda_C_tau,(value_and_uncertainty<double>(0.69772e-15,1.1e-19)*meters)); /// proton mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_p,(measurement<double>(1.672621637e-27,8.3e-35)*kilograms)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_p,(value_and_uncertainty<double>(1.672621637e-27,8.3e-35)*kilograms)); /// proton-electron mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_p_over_m_e,(measurement<double>(1836.15267247,8.0e-7)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_p_over_m_e,(value_and_uncertainty<double>(1836.15267247,8.0e-7)*dimensionless())); /// proton-muon mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_p_over_m_mu,(measurement<double>(8.88024339,2.3e-7)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_p_over_m_mu,(value_and_uncertainty<double>(8.88024339,2.3e-7)*dimensionless())); /// proton-tau mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_p_over_m_tau,(measurement<double>(0.528012,8.6e-5)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_p_over_m_tau,(value_and_uncertainty<double>(0.528012,8.6e-5)*dimensionless())); /// proton-neutron mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_p_over_m_n,(measurement<double>(0.99862347824,4.6e-10)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_p_over_m_n,(value_and_uncertainty<double>(0.99862347824,4.6e-10)*dimensionless())); /// proton charge to mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(e_over_m_p,(measurement<double>(9.57883392e7,2.4e0)*coulombs/kilogram)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(e_over_m_p,(value_and_uncertainty<double>(9.57883392e7,2.4e0)*coulombs/kilogram)); /// proton molar mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(M_p,(measurement<double>(1.00727646677e-3,1.0e-13)*kilograms/mole)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(M_p,(value_and_uncertainty<double>(1.00727646677e-3,1.0e-13)*kilograms/mole)); /// proton Compton wavelength -BOOST_UNITS_AUTO_STATIC_CONSTANT(lambda_C_p,(measurement<double>(1.3214098446e-15,1.9e-24)*meters)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(lambda_C_p,(value_and_uncertainty<double>(1.3214098446e-15,1.9e-24)*meters)); /// proton rms charge radius -BOOST_UNITS_AUTO_STATIC_CONSTANT(R_p,(measurement<double>(0.8768e-15,6.9e-18)*meters)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(R_p,(value_and_uncertainty<double>(0.8768e-15,6.9e-18)*meters)); /// proton magnetic moment -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_p,(measurement<double>(1.410606662e-26,3.7e-34)*joules/tesla)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_p,(value_and_uncertainty<double>(1.410606662e-26,3.7e-34)*joules/tesla)); /// proton-Bohr magneton ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_p_over_mu_B,(measurement<double>(1.521032209e-3,1.2e-11)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_p_over_mu_B,(value_and_uncertainty<double>(1.521032209e-3,1.2e-11)*dimensionless())); /// proton-nuclear magneton ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_p_over_mu_N,(measurement<double>(2.792847356,2.3e-8)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_p_over_mu_N,(value_and_uncertainty<double>(2.792847356,2.3e-8)*dimensionless())); /// proton g-factor -BOOST_UNITS_AUTO_STATIC_CONSTANT(g_p,(measurement<double>(5.585694713,4.6e-8)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(g_p,(value_and_uncertainty<double>(5.585694713,4.6e-8)*dimensionless())); /// proton-neutron magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_p_over_mu_n,(measurement<double>(-1.45989806,3.4e-7)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_p_over_mu_n,(value_and_uncertainty<double>(-1.45989806,3.4e-7)*dimensionless())); /// shielded proton magnetic moment -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_p_prime,(measurement<double>(1.410570419e-26,3.8e-34)*joules/tesla)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_p_prime,(value_and_uncertainty<double>(1.410570419e-26,3.8e-34)*joules/tesla)); /// shielded proton-Bohr magneton ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_p_prime_over_mu_B,(measurement<double>(1.520993128e-3,1.7e-11)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_p_prime_over_mu_B,(value_and_uncertainty<double>(1.520993128e-3,1.7e-11)*dimensionless())); /// shielded proton-nuclear magneton ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_p_prime_over_mu_N,(measurement<double>(2.792775598,3.0e-8)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_p_prime_over_mu_N,(value_and_uncertainty<double>(2.792775598,3.0e-8)*dimensionless())); /// proton magnetic shielding correction -BOOST_UNITS_AUTO_STATIC_CONSTANT(sigma_p_prime,(measurement<double>(25.694e-6,1.4e-8)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(sigma_p_prime,(value_and_uncertainty<double>(25.694e-6,1.4e-8)*dimensionless())); /// proton gyromagnetic ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(gamma_p,(measurement<double>(2.675222099e8,7.0e0)/second/tesla)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(gamma_p,(value_and_uncertainty<double>(2.675222099e8,7.0e0)/second/tesla)); /// shielded proton gyromagnetic ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(gamma_p_prime,(measurement<double>(2.675153362e8,7.3e0)/second/tesla)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(gamma_p_prime,(value_and_uncertainty<double>(2.675153362e8,7.3e0)/second/tesla)); /// neutron mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_n,(measurement<double>(1.674927211e-27,8.4e-35)*kilograms)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_n,(value_and_uncertainty<double>(1.674927211e-27,8.4e-35)*kilograms)); /// neutron-electron mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_n_over_m_e,(measurement<double>(1838.6836605,1.1e-6)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_n_over_m_e,(value_and_uncertainty<double>(1838.6836605,1.1e-6)*dimensionless())); /// neutron-muon mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_n_over_m_mu,(measurement<double>(8.89248409,2.3e-7)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_n_over_m_mu,(value_and_uncertainty<double>(8.89248409,2.3e-7)*dimensionless())); /// neutron-tau mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_n_over_m_tau,(measurement<double>(0.528740,8.6e-5)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_n_over_m_tau,(value_and_uncertainty<double>(0.528740,8.6e-5)*dimensionless())); /// neutron-proton mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_n_over_m_p,(measurement<double>(1.00137841918,4.6e-10)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_n_over_m_p,(value_and_uncertainty<double>(1.00137841918,4.6e-10)*dimensionless())); /// neutron molar mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(M_n,(measurement<double>(1.00866491597e-3,4.3e-13)*kilograms/mole)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(M_n,(value_and_uncertainty<double>(1.00866491597e-3,4.3e-13)*kilograms/mole)); /// neutron Compton wavelength -BOOST_UNITS_AUTO_STATIC_CONSTANT(lambda_C_n,(measurement<double>(1.3195908951e-15,2.0e-24)*meters)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(lambda_C_n,(value_and_uncertainty<double>(1.3195908951e-15,2.0e-24)*meters)); /// neutron magnetic moment -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_n,(measurement<double>(-0.96623641e-26,2.3e-33)*joules/tesla)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_n,(value_and_uncertainty<double>(-0.96623641e-26,2.3e-33)*joules/tesla)); /// neutron g-factor -BOOST_UNITS_AUTO_STATIC_CONSTANT(g_n,(measurement<double>(-3.82608545,9.0e-7)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(g_n,(value_and_uncertainty<double>(-3.82608545,9.0e-7)*dimensionless())); /// neutron-electron magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_n_over_mu_e,(measurement<double>(1.04066882e-3,2.5e-10)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_n_over_mu_e,(value_and_uncertainty<double>(1.04066882e-3,2.5e-10)*dimensionless())); /// neutron-proton magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_n_over_mu_p,(measurement<double>(-0.68497934,1.6e-7)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_n_over_mu_p,(value_and_uncertainty<double>(-0.68497934,1.6e-7)*dimensionless())); /// neutron-shielded proton magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_n_over_mu_p_prime,(measurement<double>(-0.68499694,1.6e-7)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_n_over_mu_p_prime,(value_and_uncertainty<double>(-0.68499694,1.6e-7)*dimensionless())); /// neutron gyromagnetic ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(gamma_n,(measurement<double>(1.83247185e8,4.3e1)/second/tesla)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(gamma_n,(value_and_uncertainty<double>(1.83247185e8,4.3e1)/second/tesla)); /// deuteron mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_d,(measurement<double>(3.34358320e-27,1.7e-34)*kilograms)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_d,(value_and_uncertainty<double>(3.34358320e-27,1.7e-34)*kilograms)); /// deuteron-electron mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_d_over_m_e,(measurement<double>(3670.4829654,1.6e-6)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_d_over_m_e,(value_and_uncertainty<double>(3670.4829654,1.6e-6)*dimensionless())); /// deuteron-proton mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_d_over_m_p,(measurement<double>(1.99900750108,2.2e-10)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_d_over_m_p,(value_and_uncertainty<double>(1.99900750108,2.2e-10)*dimensionless())); /// deuteron molar mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(M_d,(measurement<double>(2.013553212724e-3,7.8e-14)*kilograms/mole)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(M_d,(value_and_uncertainty<double>(2.013553212724e-3,7.8e-14)*kilograms/mole)); /// deuteron rms charge radius -BOOST_UNITS_AUTO_STATIC_CONSTANT(R_d,(measurement<double>(2.1402e-15,2.8e-18)*meters)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(R_d,(value_and_uncertainty<double>(2.1402e-15,2.8e-18)*meters)); /// deuteron magnetic moment -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_d,(measurement<double>(0.433073465e-26,1.1e-34)*joules/tesla)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_d,(value_and_uncertainty<double>(0.433073465e-26,1.1e-34)*joules/tesla)); /// deuteron-Bohr magneton ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_d_over_mu_B,(measurement<double>(0.4669754556e-3,3.9e-12)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_d_over_mu_B,(value_and_uncertainty<double>(0.4669754556e-3,3.9e-12)*dimensionless())); /// deuteron-nuclear magneton ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_d_over_mu_N,(measurement<double>(0.8574382308,7.2e-9)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_d_over_mu_N,(value_and_uncertainty<double>(0.8574382308,7.2e-9)*dimensionless())); /// deuteron g-factor -BOOST_UNITS_AUTO_STATIC_CONSTANT(g_d,(measurement<double>(0.8574382308,7.2e-9)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(g_d,(value_and_uncertainty<double>(0.8574382308,7.2e-9)*dimensionless())); /// deuteron-electron magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_d_over_mu_e,(measurement<double>(-4.664345537e-4,3.9e-12)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_d_over_mu_e,(value_and_uncertainty<double>(-4.664345537e-4,3.9e-12)*dimensionless())); /// deuteron-proton magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_d_over_mu_p,(measurement<double>(0.3070122070,2.4e-9)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_d_over_mu_p,(value_and_uncertainty<double>(0.3070122070,2.4e-9)*dimensionless())); /// deuteron-neutron magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_d_over_mu_n,(measurement<double>(-0.44820652,1.1e-7)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_d_over_mu_n,(value_and_uncertainty<double>(-0.44820652,1.1e-7)*dimensionless())); /// triton mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_t,(measurement<double>(5.00735588e-27,2.5e-34)*kilograms)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_t,(value_and_uncertainty<double>(5.00735588e-27,2.5e-34)*kilograms)); /// triton-electron mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_t_over_m_e,(measurement<double>(5496.9215269,5.1e-6)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_t_over_m_e,(value_and_uncertainty<double>(5496.9215269,5.1e-6)*dimensionless())); /// triton-proton mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_t_over_m_p,(measurement<double>(2.9937170309,2.5e-9)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_t_over_m_p,(value_and_uncertainty<double>(2.9937170309,2.5e-9)*dimensionless())); /// triton molar mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(M_t,(measurement<double>(3.0155007134e-3,2.5e-12)*kilograms/mole)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(M_t,(value_and_uncertainty<double>(3.0155007134e-3,2.5e-12)*kilograms/mole)); /// triton magnetic moment -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_t,(measurement<double>(1.504609361e-26,4.2e-34)*joules/tesla)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_t,(value_and_uncertainty<double>(1.504609361e-26,4.2e-34)*joules/tesla)); /// triton-Bohr magneton ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_t_over_mu_B,(measurement<double>(1.622393657e-3,2.1e-11)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_t_over_mu_B,(value_and_uncertainty<double>(1.622393657e-3,2.1e-11)*dimensionless())); /// triton-nuclear magneton ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_t_over_mu_N,(measurement<double>(2.978962448,3.8e-8)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_t_over_mu_N,(value_and_uncertainty<double>(2.978962448,3.8e-8)*dimensionless())); /// triton g-factor -BOOST_UNITS_AUTO_STATIC_CONSTANT(g_t,(measurement<double>(5.957924896,7.6e-8)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(g_t,(value_and_uncertainty<double>(5.957924896,7.6e-8)*dimensionless())); /// triton-electron magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_t_over_mu_e,(measurement<double>(-1.620514423e-3,2.1e-11)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_t_over_mu_e,(value_and_uncertainty<double>(-1.620514423e-3,2.1e-11)*dimensionless())); /// triton-proton magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_t_over_mu_p,(measurement<double>(1.066639908,1.0e-8)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_t_over_mu_p,(value_and_uncertainty<double>(1.066639908,1.0e-8)*dimensionless())); /// triton-neutron magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_t_over_mu_n,(measurement<double>(-1.55718553,3.7e-7)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_t_over_mu_n,(value_and_uncertainty<double>(-1.55718553,3.7e-7)*dimensionless())); /// helion mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_h,(measurement<double>(5.00641192e-27,2.5e-34)*kilograms)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_h,(value_and_uncertainty<double>(5.00641192e-27,2.5e-34)*kilograms)); /// helion-electron mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_h_over_m_e,(measurement<double>(5495.8852765,5.2e-6)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_h_over_m_e,(value_and_uncertainty<double>(5495.8852765,5.2e-6)*dimensionless())); /// helion-proton mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_h_over_m_p,(measurement<double>(2.9931526713,2.6e-9)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_h_over_m_p,(value_and_uncertainty<double>(2.9931526713,2.6e-9)*dimensionless())); /// helion molar mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(M_h,(measurement<double>(3.0149322473e-3,2.6e-12)*kilograms/mole)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(M_h,(value_and_uncertainty<double>(3.0149322473e-3,2.6e-12)*kilograms/mole)); /// helion shielded magnetic moment -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_h_prime,(measurement<double>(-1.074552982e-26,3.0e-34)*joules/tesla)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_h_prime,(value_and_uncertainty<double>(-1.074552982e-26,3.0e-34)*joules/tesla)); /// shielded helion-Bohr magneton ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_h_prime_over_mu_B,(measurement<double>(-1.158671471e-3,1.4e-11)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_h_prime_over_mu_B,(value_and_uncertainty<double>(-1.158671471e-3,1.4e-11)*dimensionless())); /// shielded helion-nuclear magneton ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_h_prime_over_mu_N,(measurement<double>(-2.127497718,2.5e-8)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_h_prime_over_mu_N,(value_and_uncertainty<double>(-2.127497718,2.5e-8)*dimensionless())); /// shielded helion-proton magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_h_prime_over_mu_p,(measurement<double>(-0.761766558,1.1e-8)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_h_prime_over_mu_p,(value_and_uncertainty<double>(-0.761766558,1.1e-8)*dimensionless())); /// shielded helion-shielded proton magnetic moment ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_h_prime_over_mu_p_prime,(measurement<double>(-0.7617861313,3.3e-8)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_h_prime_over_mu_p_prime,(value_and_uncertainty<double>(-0.7617861313,3.3e-8)*dimensionless())); /// shielded helion gyromagnetic ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(gamma_h_prime,(measurement<double>(2.037894730e8,5.6e-0)/second/tesla)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(gamma_h_prime,(value_and_uncertainty<double>(2.037894730e8,5.6e-0)/second/tesla)); /// alpha particle mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_alpha,(measurement<double>(6.64465620e-27,3.3e-34)*kilograms)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_alpha,(value_and_uncertainty<double>(6.64465620e-27,3.3e-34)*kilograms)); /// alpha-electron mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_alpha_over_m_e,(measurement<double>(7294.2995365,3.1e-6)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_alpha_over_m_e,(value_and_uncertainty<double>(7294.2995365,3.1e-6)*dimensionless())); /// alpha-proton mass ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(m_alpha_over_m_p,(measurement<double>(3.97259968951,4.1e-10)*dimensionless())); +BOOST_UNITS_AUTO_STATIC_CONSTANT(m_alpha_over_m_p,(value_and_uncertainty<double>(3.97259968951,4.1e-10)*dimensionless())); /// alpha molar mass -BOOST_UNITS_AUTO_STATIC_CONSTANT(M_alpha,(measurement<double>(4.001506179127e-3,6.2e-14)*kilograms/mole)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(M_alpha,(value_and_uncertainty<double>(4.001506179127e-3,6.2e-14)*kilograms/mole)); } // namespace CODATA Index: electromagnetic_constants.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/codata/electromagnetic_constants.hpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- electromagnetic_constants.hpp 3 Apr 2007 23:14:00 -0000 1.4 +++ electromagnetic_constants.hpp 5 Apr 2007 21:08:54 -0000 1.5 @@ -13,10 +13,9 @@ #if BOOST_UNITS_HAS_TYPEOF -#include <boost/units/measurement.hpp> #include <boost/units/static_constant.hpp> -//#include <boost/units/systems/si.hpp> +#include <boost/units/systems/si/constants.hpp> #include <boost/units/systems/si/conductance.hpp> #include <boost/units/systems/si/current.hpp> #include <boost/units/systems/si/electric_charge.hpp> @@ -45,21 +44,21 @@ // ELECTROMAGNETIC /// elementary charge -BOOST_UNITS_AUTO_STATIC_CONSTANT(e,(measurement<double>(1.602176487e-19,4.0e-27)*coulombs)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(e,(value_and_uncertainty<double>(1.602176487e-19,4.0e-27)*coulombs)); /// elementary charge to Planck constant ratio -BOOST_UNITS_AUTO_STATIC_CONSTANT(e_over_h,(measurement<double>(2.417989454e14,6.0e6)*amperes/joule)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(e_over_h,(value_and_uncertainty<double>(2.417989454e14,6.0e6)*amperes/joule)); /// magnetic flux quantum -BOOST_UNITS_AUTO_STATIC_CONSTANT(Phi_0,(measurement<double>(2.067833667e-15,5.2e-23)*webers)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(Phi_0,(value_and_uncertainty<double>(2.067833667e-15,5.2e-23)*webers)); /// conductance quantum -BOOST_UNITS_AUTO_STATIC_CONSTANT(G_0,(measurement<double>(7.7480917004e-5,5.3e-14)*siemens)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(G_0,(value_and_uncertainty<double>(7.7480917004e-5,5.3e-14)*siemens)); /// Josephson constant -BOOST_UNITS_AUTO_STATIC_CONSTANT(K_J,(measurement<double>(483597.891e9,1.2e7)*hertz/volt)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(K_J,(value_and_uncertainty<double>(483597.891e9,1.2e7)*hertz/volt)); /// von Klitzing constant -BOOST_UNITS_AUTO_STATIC_CONSTANT(R_K,(measurement<double>(25812.807557,1.77e-5)*ohms)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(R_K,(value_and_uncertainty<double>(25812.807557,1.77e-5)*ohms)); /// Bohr magneton -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_B,(measurement<double>(927.400915e-26,2.3e-31)*joules/tesla)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_B,(value_and_uncertainty<double>(927.400915e-26,2.3e-31)*joules/tesla)); /// nuclear magneton -BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_N,(measurement<double>(5.05078324e-27,1.3e-34)*joules/tesla)); +BOOST_UNITS_AUTO_STATIC_CONSTANT(mu_N,(value_and_uncertainty<double>(5.05078324e-27,1.3e-34)*joules/tesla)); } // namespace CODATA |