]>
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_DEUTERON_CONSTANTS_HPP | |
12 | #define BOOST_UNITS_CODATA_DEUTERON_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 | /// deuteron mass | |
48 | BOOST_UNITS_PHYSICAL_CONSTANT(m_d,quantity<mass>,3.34358320e-27*kilograms,1.7e-34*kilograms); | |
49 | /// deuteron-electron mass ratio | |
50 | BOOST_UNITS_PHYSICAL_CONSTANT(m_d_over_m_e,quantity<dimensionless>,3670.4829654*dimensionless(),1.6e-6*dimensionless()); | |
51 | /// deuteron-proton mass ratio | |
52 | BOOST_UNITS_PHYSICAL_CONSTANT(m_d_over_m_p,quantity<dimensionless>,1.99900750108*dimensionless(),2.2e-10*dimensionless()); | |
53 | /// deuteron molar mass | |
54 | BOOST_UNITS_PHYSICAL_CONSTANT(M_d,quantity<mass_over_amount>,2.013553212724e-3*kilograms/mole,7.8e-14*kilograms/mole); | |
55 | /// deuteron rms charge radius | |
56 | BOOST_UNITS_PHYSICAL_CONSTANT(R_d,quantity<length>,2.1402e-15*meters,2.8e-18*meters); | |
57 | /// deuteron magnetic moment | |
58 | BOOST_UNITS_PHYSICAL_CONSTANT(mu_d,quantity<energy_over_magnetic_flux_density>,0.433073465e-26*joules/tesla,1.1e-34*joules/tesla); | |
59 | /// deuteron-Bohr magneton ratio | |
60 | BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_B,quantity<dimensionless>,0.4669754556e-3*dimensionless(),3.9e-12*dimensionless()); | |
61 | /// deuteron-nuclear magneton ratio | |
62 | BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_N,quantity<dimensionless>,0.8574382308*dimensionless(),7.2e-9*dimensionless()); | |
63 | /// deuteron g-factor | |
64 | BOOST_UNITS_PHYSICAL_CONSTANT(g_d,quantity<dimensionless>,0.8574382308*dimensionless(),7.2e-9*dimensionless()); | |
65 | /// deuteron-electron magnetic moment ratio | |
66 | BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_e,quantity<dimensionless>,-4.664345537e-4*dimensionless(),3.9e-12*dimensionless()); | |
67 | /// deuteron-proton magnetic moment ratio | |
68 | BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_p,quantity<dimensionless>,0.3070122070*dimensionless(),2.4e-9*dimensionless()); | |
69 | /// deuteron-neutron magnetic moment ratio | |
70 | BOOST_UNITS_PHYSICAL_CONSTANT(mu_d_over_mu_n,quantity<dimensionless>,-0.44820652*dimensionless(),1.1e-7*dimensionless()); | |
71 | ||
72 | } // namespace codata | |
73 | ||
74 | } // namespace constants | |
75 | ||
76 | } // namespace si | |
77 | ||
78 | } // namespace units | |
79 | ||
80 | } // namespace boost | |
81 | ||
82 | #endif // BOOST_UNITS_CODATA_DEUTERON_CONSTANTS_HPP |