]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/units/systems/si/codata/electromagnetic_constants.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / units / systems / si / codata / electromagnetic_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_ELECTROMAGNETIC_CONSTANTS_HPP
12 #define BOOST_UNITS_CODATA_ELECTROMAGNETIC_CONSTANTS_HPP
13
14 ///
15 /// \file
16 /// \brief CODATA recommended values of fundamental electromagnetic constants.
17 /// \details CODATA recommended values of the fundamental physical constants: NIST SP 961
18 /// CODATA 2006 values as of 2007/03/30
19 ///
20
21 #include <boost/units/quantity.hpp>
22 #include <boost/units/static_constant.hpp>
23
24 #include <boost/units/systems/detail/constants.hpp>
25 #include <boost/units/systems/si/conductance.hpp>
26 #include <boost/units/systems/si/current.hpp>
27 #include <boost/units/systems/si/electric_charge.hpp>
28 #include <boost/units/systems/si/electric_potential.hpp>
29 #include <boost/units/systems/si/energy.hpp>
30 #include <boost/units/systems/si/frequency.hpp>
31 #include <boost/units/systems/si/magnetic_flux.hpp>
32 #include <boost/units/systems/si/magnetic_flux_density.hpp>
33 #include <boost/units/systems/si/resistance.hpp>
34
35 #include <boost/units/systems/si/codata/typedefs.hpp>
36
37 namespace boost {
38
39 namespace units {
40
41 namespace si {
42
43 namespace constants {
44
45 namespace codata {
46
47 // ELECTROMAGNETIC
48 /// elementary charge
49 BOOST_UNITS_PHYSICAL_CONSTANT(e,quantity<electric_charge>,1.602176487e-19*coulombs,4.0e-27*coulombs);
50 /// elementary charge to Planck constant ratio
51 BOOST_UNITS_PHYSICAL_CONSTANT(e_over_h,quantity<current_over_energy>,2.417989454e14*amperes/joule,6.0e6*amperes/joule);
52 /// magnetic flux quantum
53 BOOST_UNITS_PHYSICAL_CONSTANT(Phi_0,quantity<magnetic_flux>,2.067833667e-15*webers,5.2e-23*webers);
54 /// conductance quantum
55 BOOST_UNITS_PHYSICAL_CONSTANT(G_0,quantity<conductance>,7.7480917004e-5*siemens,5.3e-14*siemens);
56 /// Josephson constant
57 BOOST_UNITS_PHYSICAL_CONSTANT(K_J,quantity<frequency_over_electric_potential>,483597.891e9*hertz/volt,1.2e7*hertz/volt);
58 /// von Klitzing constant
59 BOOST_UNITS_PHYSICAL_CONSTANT(R_K,quantity<resistance>,25812.807557*ohms,1.77e-5*ohms);
60 /// Bohr magneton
61 BOOST_UNITS_PHYSICAL_CONSTANT(mu_B,quantity<energy_over_magnetic_flux_density>,927.400915e-26*joules/tesla,2.3e-31*joules/tesla);
62 /// nuclear magneton
63 BOOST_UNITS_PHYSICAL_CONSTANT(mu_N,quantity<energy_over_magnetic_flux_density>,5.05078324e-27*joules/tesla,1.3e-34*joules/tesla);
64
65 } // namespace codata
66
67 } // namespace constants
68
69 } // namespace si
70
71 } // namespace units
72
73 } // namespace boost
74
75 #endif // BOOST_UNITS_CODATA_ELECTROMAGNETIC_CONSTANTS_HPP