• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_ALPHA_CONSTANTS_HPP
12 #define BOOST_UNITS_CODATA_ALPHA_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 /// alpha particle mass
48 BOOST_UNITS_PHYSICAL_CONSTANT(m_alpha,quantity<mass>,6.64465620e-27*kilograms,3.3e-34*kilograms);
49 /// alpha-electron mass ratio
50 BOOST_UNITS_PHYSICAL_CONSTANT(m_alpha_over_m_e,quantity<dimensionless>,7294.2995365*dimensionless(),3.1e-6*dimensionless());
51 /// alpha-proton mass ratio
52 BOOST_UNITS_PHYSICAL_CONSTANT(m_alpha_over_m_p,quantity<dimensionless>,3.97259968951*dimensionless(),4.1e-10*dimensionless());
53 /// alpha molar mass
54 BOOST_UNITS_PHYSICAL_CONSTANT(M_alpha,quantity<mass_over_amount>,4.001506179127e-3*kilograms/mole,6.2e-14*kilograms/mole);
55 
56 } // namespace codata
57 
58 } // namespace constants
59 
60 } // namespace si
61 
62 } // namespace units
63 
64 } // namespace boost
65 
66 #endif // BOOST_UNITS_CODATA_ALPHA_CONSTANTS_HPP
67