• 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_ATOMIC_AND_NUCLEAR_CONSTANTS_HPP
12 #define BOOST_UNITS_CODATA_ATOMIC_AND_NUCLEAR_CONSTANTS_HPP
13 
14 #include <boost/units/systems/si/codata/alpha_constants.hpp>
15 #include <boost/units/systems/si/codata/deuteron_constants.hpp>
16 #include <boost/units/systems/si/codata/electron_constants.hpp>
17 #include <boost/units/systems/si/codata/helion_constants.hpp>
18 #include <boost/units/systems/si/codata/muon_constants.hpp>
19 #include <boost/units/systems/si/codata/neutron_constants.hpp>
20 #include <boost/units/systems/si/codata/proton_constants.hpp>
21 #include <boost/units/systems/si/codata/tau_constants.hpp>
22 #include <boost/units/systems/si/codata/triton_constants.hpp>
23 
24 namespace boost {
25 
26 namespace units {
27 
28 namespace si {
29 
30 namespace constants {
31 
32 namespace codata {
33 
34 /// CODATA recommended values of the fundamental physical constants: NIST SP 961
35 
36 // ATOMIC AND NUCLEAR
37 /// fine structure constant
38 BOOST_UNITS_PHYSICAL_CONSTANT(alpha,quantity<dimensionless>,7.2973525376e-3*dimensionless(),5.0e-12*dimensionless());
39 /// Rydberg constant
40 BOOST_UNITS_PHYSICAL_CONSTANT(R_infinity,quantity<wavenumber>,10973731.568527/meter,7.3e-5/meter);
41 /// Bohr radius
42 BOOST_UNITS_PHYSICAL_CONSTANT(a_0,quantity<length>,0.52917720859e-10*meters,3.6e-20*meters);
43 /// Hartree energy
44 BOOST_UNITS_PHYSICAL_CONSTANT(E_h,quantity<energy>,4.35974394e-18*joules,2.2e-25*joules);
45 
46 } // namespace codata
47 
48 } // namespace constants
49 
50 } // namespace si
51 
52 } // namespace units
53 
54 } // namespace boost
55 
56 #endif // BOOST_UNITS_CODATA_ATOMIC_AND_NUCLEAR_CONSTANTS_HPP
57