]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/boost/units/systems/si/codata/proton_constants.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / units / systems / si / codata / proton_constants.hpp
CommitLineData
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_PROTON_CONSTANTS_HPP
12#define BOOST_UNITS_CODATA_PROTON_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
35namespace boost {
36
37namespace units {
38
39namespace si {
40
41namespace constants {
42
43namespace codata {
44
45/// CODATA recommended values of the fundamental physical constants: NIST SP 961
46
47/// proton mass
48BOOST_UNITS_PHYSICAL_CONSTANT(m_p,quantity<mass>,1.672621637e-27*kilograms,8.3e-35*kilograms);
49/// proton-electron mass ratio
50BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_e,quantity<dimensionless>,1836.15267247*dimensionless(),8.0e-7*dimensionless());
51/// proton-muon mass ratio
52BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_mu,quantity<dimensionless>,8.88024339*dimensionless(),2.3e-7*dimensionless());
53/// proton-tau mass ratio
54BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_tau,quantity<dimensionless>,0.528012*dimensionless(),8.6e-5*dimensionless());
55/// proton-neutron mass ratio
56BOOST_UNITS_PHYSICAL_CONSTANT(m_p_over_m_n,quantity<dimensionless>,0.99862347824*dimensionless(),4.6e-10*dimensionless());
57/// proton charge to mass ratio
58BOOST_UNITS_PHYSICAL_CONSTANT(e_over_m_p,quantity<electric_charge_over_mass>,9.57883392e7*coulombs/kilogram,2.4e0*coulombs/kilogram);
59/// proton molar mass
60BOOST_UNITS_PHYSICAL_CONSTANT(M_p,quantity<mass_over_amount>,1.00727646677e-3*kilograms/mole,1.0e-13*kilograms/mole);
61/// proton Compton wavelength
62BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C_p,quantity<length>,1.3214098446e-15*meters,1.9e-24*meters);
63/// proton rms charge radius
64BOOST_UNITS_PHYSICAL_CONSTANT(R_p,quantity<length>,0.8768e-15*meters,6.9e-18*meters);
65/// proton magnetic moment
66BOOST_UNITS_PHYSICAL_CONSTANT(mu_p,quantity<energy_over_magnetic_flux_density>,1.410606662e-26*joules/tesla,3.7e-34*joules/tesla);
67/// proton-Bohr magneton ratio
68BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_over_mu_B,quantity<dimensionless>,1.521032209e-3*dimensionless(),1.2e-11*dimensionless());
69/// proton-nuclear magneton ratio
70BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_over_mu_N,quantity<dimensionless>,2.792847356*dimensionless(),2.3e-8*dimensionless());
71/// proton g-factor
72BOOST_UNITS_PHYSICAL_CONSTANT(g_p,quantity<dimensionless>,5.585694713*dimensionless(),4.6e-8*dimensionless());
73/// proton-neutron magnetic moment ratio
74BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_over_mu_n,quantity<dimensionless>,-1.45989806*dimensionless(),3.4e-7*dimensionless());
75/// shielded proton magnetic moment
76BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_prime,quantity<energy_over_magnetic_flux_density>,1.410570419e-26*joules/tesla,3.8e-34*joules/tesla);
77/// shielded proton-Bohr magneton ratio
78BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_prime_over_mu_B,quantity<dimensionless>,1.520993128e-3*dimensionless(),1.7e-11*dimensionless());
79/// shielded proton-nuclear magneton ratio
80BOOST_UNITS_PHYSICAL_CONSTANT(mu_p_prime_over_mu_N,quantity<dimensionless>,2.792775598*dimensionless(),3.0e-8*dimensionless());
81/// proton magnetic shielding correction
82BOOST_UNITS_PHYSICAL_CONSTANT(sigma_p_prime,quantity<dimensionless>,25.694e-6*dimensionless(),1.4e-8*dimensionless());
83/// proton gyromagnetic ratio
84BOOST_UNITS_PHYSICAL_CONSTANT(gamma_p,quantity<frequency_over_magnetic_flux_density>,2.675222099e8/second/tesla,7.0e0/second/tesla);
85/// shielded proton gyromagnetic ratio
86BOOST_UNITS_PHYSICAL_CONSTANT(gamma_p_prime,quantity<frequency_over_magnetic_flux_density>,2.675153362e8/second/tesla,7.3e0/second/tesla);
87
88} // namespace codata
89
90} // namespace constants
91
92} // namespace si
93
94} // namespace units
95
96} // namespace boost
97
98#endif // BOOST_UNITS_CODATA_PROTON_CONSTANTS_HPP