]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // Boost.Units - A C++ library for zero-overhead dimensional analysis and |
2 | // unit/quantity manipulation and conversion | |
3 | // | |
4 | // Copyright (C) 2003-2008 Matthias Christian Schabel | |
5 | // Copyright (C) 2008 Steven Watanabe | |
6 | // | |
7 | // Distributed under the Boost Software License, Version 1.0. (See | |
8 | // accompanying file LICENSE_1_0.txt or copy at | |
9 | // http://www.boost.org/LICENSE_1_0.txt) | |
10 | ||
11 | #ifndef BOOST_UNITS_CODATA_PROTON_CONSTANTS_HPP | |
12 | #define BOOST_UNITS_CODATA_PROTON_CONSTANTS_HPP | |
13 | ||
14 | #include <boost/units/quantity.hpp> | |
15 | #include <boost/units/static_constant.hpp> | |
16 | ||
17 | #include <boost/units/systems/detail/constants.hpp> | |
18 | #include <boost/units/systems/si/amount.hpp> | |
19 | #include <boost/units/systems/si/area.hpp> | |
20 | #include <boost/units/systems/si/electric_charge.hpp> | |
21 | #include <boost/units/systems/si/energy.hpp> | |
22 | #include <boost/units/systems/si/frequency.hpp> | |
23 | #include <boost/units/systems/si/length.hpp> | |
24 | #include <boost/units/systems/si/mass.hpp> | |
25 | #include <boost/units/systems/si/magnetic_flux_density.hpp> | |
26 | #include <boost/units/systems/si/time.hpp> | |
27 | #include <boost/units/systems/si/wavenumber.hpp> | |
28 | ||
29 | #include <boost/units/systems/si/codata/typedefs.hpp> | |
30 | ||
31 | /// \file | |
32 | /// CODATA recommended values of fundamental atomic and nuclear constants | |
33 | /// CODATA 2006 values as of 2007/03/30 | |
34 | ||
35 | namespace boost { | |
36 | ||
37 | namespace units { | |
38 | ||
39 | namespace si { | |
40 | ||
41 | namespace constants { | |
42 | ||
43 | namespace codata { | |
44 | ||
45 | /// CODATA recommended values of the fundamental physical constants: NIST SP 961 | |
46 | ||
47 | /// proton mass | |
48 | BOOST_UNITS_PHYSICAL_CONSTANT(m_p,quantity<mass>,1.672621637e-27*kilograms,8.3e-35*kilograms); | |
49 | /// proton-electron mass ratio | |
50 | BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_e,quantity<dimensionless>,1836.15267247*dimensionless(),8.0e-7*dimensionless()); | |
51 | /// proton-muon mass ratio | |
52 | BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_mu,quantity<dimensionless>,8.88024339*dimensionless(),2.3e-7*dimensionless()); | |
53 | /// proton-tau mass ratio | |
54 | BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_tau,quantity<dimensionless>,0.528012*dimensionless(),8.6e-5*dimensionless()); | |
55 | /// proton-neutron mass ratio | |
56 | BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_n,quantity<dimensionless>,0.99862347824*dimensionless(),4.6e-10*dimensionless()); | |
57 | /// proton charge to mass ratio | |
58 | BOOST_UNITS_PHYSICAL_CONSTANT(e_over_m_p,quantity<electric_charge_over_mass>,9.57883392e7*coulombs/kilogram,2.4e0*coulombs/kilogram); | |
59 | /// proton molar mass | |
60 | BOOST_UNITS_PHYSICAL_CONSTANT(M_p,quantity<mass_over_amount>,1.00727646677e-3*kilograms/mole,1.0e-13*kilograms/mole); | |
61 | /// proton Compton wavelength | |
62 | BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C_p,quantity<length>,1.3214098446e-15*meters,1.9e-24*meters); | |
63 | /// proton rms charge radius | |
64 | BOOST_UNITS_PHYSICAL_CONSTANT(R_p,quantity<length>,0.8768e-15*meters,6.9e-18*meters); | |
65 | /// proton magnetic moment | |
66 | BOOST_UNITS_PHYSICAL_CONSTANT(mu_p,quantity<energy_over_magnetic_flux_density>,1.410606662e-26*joules/tesla,3.7e-34*joules/tesla); | |
67 | /// proton-Bohr magneton ratio | |
68 | BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_over_mu_B,quantity<dimensionless>,1.521032209e-3*dimensionless(),1.2e-11*dimensionless()); | |
69 | /// proton-nuclear magneton ratio | |
70 | BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_over_mu_N,quantity<dimensionless>,2.792847356*dimensionless(),2.3e-8*dimensionless()); | |
71 | /// proton g-factor | |
72 | BOOST_UNITS_PHYSICAL_CONSTANT(g_p,quantity<dimensionless>,5.585694713*dimensionless(),4.6e-8*dimensionless()); | |
73 | /// proton-neutron magnetic moment ratio | |
74 | BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_over_mu_n,quantity<dimensionless>,-1.45989806*dimensionless(),3.4e-7*dimensionless()); | |
75 | /// shielded proton magnetic moment | |
76 | BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_prime,quantity<energy_over_magnetic_flux_density>,1.410570419e-26*joules/tesla,3.8e-34*joules/tesla); | |
77 | /// shielded proton-Bohr magneton ratio | |
78 | BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_prime_over_mu_B,quantity<dimensionless>,1.520993128e-3*dimensionless(),1.7e-11*dimensionless()); | |
79 | /// shielded proton-nuclear magneton ratio | |
80 | BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_prime_over_mu_N,quantity<dimensionless>,2.792775598*dimensionless(),3.0e-8*dimensionless()); | |
81 | /// proton magnetic shielding correction | |
82 | BOOST_UNITS_PHYSICAL_CONSTANT(sigma_p_prime,quantity<dimensionless>,25.694e-6*dimensionless(),1.4e-8*dimensionless()); | |
83 | /// proton gyromagnetic ratio | |
84 | BOOST_UNITS_PHYSICAL_CONSTANT(gamma_p,quantity<frequency_over_magnetic_flux_density>,2.675222099e8/second/tesla,7.0e0/second/tesla); | |
85 | /// shielded proton gyromagnetic ratio | |
86 | BOOST_UNITS_PHYSICAL_CONSTANT(gamma_p_prime,quantity<frequency_over_magnetic_flux_density>,2.675153362e8/second/tesla,7.3e0/second/tesla); | |
87 | ||
88 | } // namespace codata | |
89 | ||
90 | } // namespace constants | |
91 | ||
92 | } // namespace si | |
93 | ||
94 | } // namespace units | |
95 | ||
96 | } // namespace boost | |
97 | ||
98 | #endif // BOOST_UNITS_CODATA_PROTON_CONSTANTS_HPP |