comparison DEPENDENCIES/generic/include/boost/units/systems/si/codata/proton_constants.hpp @ 16:2665513ce2d3

Add boost headers
author Chris Cannam
date Tue, 05 Aug 2014 11:11:38 +0100
parents
children c530137014c0
comparison
equal deleted inserted replaced
15:663ca0da4350 16:2665513ce2d3
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/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 /// proton mass
47 BOOST_UNITS_PHYSICAL_CONSTANT(m_p,quantity<mass>,1.672621637e-27*kilograms,8.3e-35*kilograms);
48 /// proton-electron mass ratio
49 BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_e,quantity<dimensionless>,1836.15267247*dimensionless(),8.0e-7*dimensionless());
50 /// proton-muon mass ratio
51 BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_mu,quantity<dimensionless>,8.88024339*dimensionless(),2.3e-7*dimensionless());
52 /// proton-tau mass ratio
53 BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_tau,quantity<dimensionless>,0.528012*dimensionless(),8.6e-5*dimensionless());
54 /// proton-neutron mass ratio
55 BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_n,quantity<dimensionless>,0.99862347824*dimensionless(),4.6e-10*dimensionless());
56 /// proton charge to mass ratio
57 BOOST_UNITS_PHYSICAL_CONSTANT(e_over_m_p,quantity<electric_charge_over_mass>,9.57883392e7*coulombs/kilogram,2.4e0*coulombs/kilogram);
58 /// proton molar mass
59 BOOST_UNITS_PHYSICAL_CONSTANT(M_p,quantity<mass_over_amount>,1.00727646677e-3*kilograms/mole,1.0e-13*kilograms/mole);
60 /// proton Compton wavelength
61 BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C_p,quantity<length>,1.3214098446e-15*meters,1.9e-24*meters);
62 /// proton rms charge radius
63 BOOST_UNITS_PHYSICAL_CONSTANT(R_p,quantity<length>,0.8768e-15*meters,6.9e-18*meters);
64 /// proton magnetic moment
65 BOOST_UNITS_PHYSICAL_CONSTANT(mu_p,quantity<energy_over_magnetic_flux_density>,1.410606662e-26*joules/tesla,3.7e-34*joules/tesla);
66 /// proton-Bohr magneton ratio
67 BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_over_mu_B,quantity<dimensionless>,1.521032209e-3*dimensionless(),1.2e-11*dimensionless());
68 /// proton-nuclear magneton ratio
69 BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_over_mu_N,quantity<dimensionless>,2.792847356*dimensionless(),2.3e-8*dimensionless());
70 /// proton g-factor
71 BOOST_UNITS_PHYSICAL_CONSTANT(g_p,quantity<dimensionless>,5.585694713*dimensionless(),4.6e-8*dimensionless());
72 /// proton-neutron magnetic moment ratio
73 BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_over_mu_n,quantity<dimensionless>,-1.45989806*dimensionless(),3.4e-7*dimensionless());
74 /// shielded proton magnetic moment
75 BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_prime,quantity<energy_over_magnetic_flux_density>,1.410570419e-26*joules/tesla,3.8e-34*joules/tesla);
76 /// shielded proton-Bohr magneton ratio
77 BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_prime_over_mu_B,quantity<dimensionless>,1.520993128e-3*dimensionless(),1.7e-11*dimensionless());
78 /// shielded proton-nuclear magneton ratio
79 BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_prime_over_mu_N,quantity<dimensionless>,2.792775598*dimensionless(),3.0e-8*dimensionless());
80 /// proton magnetic shielding correction
81 BOOST_UNITS_PHYSICAL_CONSTANT(sigma_p_prime,quantity<dimensionless>,25.694e-6*dimensionless(),1.4e-8*dimensionless());
82 /// proton gyromagnetic ratio
83 BOOST_UNITS_PHYSICAL_CONSTANT(gamma_p,quantity<frequency_over_magnetic_flux_density>,2.675222099e8/second/tesla,7.0e0/second/tesla);
84 /// shielded proton gyromagnetic ratio
85 BOOST_UNITS_PHYSICAL_CONSTANT(gamma_p_prime,quantity<frequency_over_magnetic_flux_density>,2.675153362e8/second/tesla,7.3e0/second/tesla);
86
87 } // namespace codata
88
89 } // namespace constants
90
91 } // namespace si
92
93 } // namespace units
94
95 } // namespace boost
96
97 #endif // BOOST_UNITS_CODATA_PROTON_CONSTANTS_HPP