24448abda7d07016ea5737f16403b52d9c645649
[platform/upstream/boost.git] / boost / units / systems / si / codata / triton_constants.hpp
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_TRITON_CONSTANTS_HPP
12 #define BOOST_UNITS_CODATA_TRITON_CONSTANTS_HPP
13
14 #include <boost/units/static_constant.hpp>
15
16 #include <boost/units/systems/detail/constants.hpp>
17 #include <boost/units/systems/si/amount.hpp>
18 #include <boost/units/systems/si/area.hpp>
19 #include <boost/units/systems/si/electric_charge.hpp>
20 #include <boost/units/systems/si/energy.hpp>
21 #include <boost/units/systems/si/frequency.hpp>
22 #include <boost/units/systems/si/length.hpp>
23 #include <boost/units/systems/si/mass.hpp>
24 #include <boost/units/systems/si/magnetic_flux_density.hpp>
25 #include <boost/units/systems/si/time.hpp>
26 #include <boost/units/systems/si/wavenumber.hpp>
27
28 #include <boost/units/systems/si/codata/typedefs.hpp>
29
30 /// \file
31 /// CODATA recommended values of fundamental atomic and nuclear constants
32 /// CODATA 2006 values as of 2007/03/30
33
34 namespace boost {
35
36 namespace units { 
37
38 namespace si {
39                             
40 namespace constants {
41
42 namespace codata {
43
44 /// CODATA recommended values of the fundamental physical constants: NIST SP 961
45
46 /// triton mass
47 BOOST_UNITS_PHYSICAL_CONSTANT(m_t,quantity<mass>,5.00735588e-27*kilograms,2.5e-34*kilograms);
48 /// triton-electron mass ratio
49 BOOST_UNITS_PHYSICAL_CONSTANT(m_t_over_m_e,quantity<dimensionless>,5496.9215269*dimensionless(),5.1e-6*dimensionless());
50 /// triton-proton mass ratio
51 BOOST_UNITS_PHYSICAL_CONSTANT(m_t_over_m_p,quantity<dimensionless>,2.9937170309*dimensionless(),2.5e-9*dimensionless());
52 /// triton molar mass
53 BOOST_UNITS_PHYSICAL_CONSTANT(M_t,quantity<mass_over_amount>,3.0155007134e-3*kilograms/mole,2.5e-12*kilograms/mole);
54 /// triton magnetic moment
55 BOOST_UNITS_PHYSICAL_CONSTANT(mu_t,quantity<energy_over_magnetic_flux_density>,1.504609361e-26*joules/tesla,4.2e-34*joules/tesla);
56 /// triton-Bohr magneton ratio
57 BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_B,quantity<dimensionless>,1.622393657e-3*dimensionless(),2.1e-11*dimensionless());
58 /// triton-nuclear magneton ratio
59 BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_N,quantity<dimensionless>,2.978962448*dimensionless(),3.8e-8*dimensionless());
60 /// triton g-factor
61 BOOST_UNITS_PHYSICAL_CONSTANT(g_t,quantity<dimensionless>,5.957924896*dimensionless(),7.6e-8*dimensionless());
62 /// triton-electron magnetic moment ratio
63 BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_e,quantity<dimensionless>,-1.620514423e-3*dimensionless(),2.1e-11*dimensionless());
64 /// triton-proton magnetic moment ratio
65 BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_p,quantity<dimensionless>,1.066639908*dimensionless(),1.0e-8*dimensionless());
66 /// triton-neutron magnetic moment ratio
67 BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_n,quantity<dimensionless>,-1.55718553*dimensionless(),3.7e-7*dimensionless());
68
69 } // namespace codata
70
71 } // namespace constants    
72
73 } // namespace si
74
75 } // namespace units
76
77 } // namespace boost
78
79 #endif // BOOST_UNITS_CODATA_TRITON_CONSTANTS_HPP