Chris@16: // Boost.Units - A C++ library for zero-overhead dimensional analysis and Chris@16: // unit/quantity manipulation and conversion Chris@16: // Chris@16: // Copyright (C) 2003-2008 Matthias Christian Schabel Chris@16: // Copyright (C) 2008 Steven Watanabe Chris@16: // Chris@16: // Distributed under the Boost Software License, Version 1.0. (See Chris@16: // accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: #ifndef BOOST_UNITS_CODATA_ELECTROMAGNETIC_CONSTANTS_HPP Chris@16: #define BOOST_UNITS_CODATA_ELECTROMAGNETIC_CONSTANTS_HPP Chris@16: Chris@16: /// Chris@16: /// \file Chris@16: /// \brief CODATA recommended values of fundamental electromagnetic constants. Chris@16: /// \details CODATA recommended values of the fundamental physical constants: NIST SP 961 Chris@16: /// CODATA 2006 values as of 2007/03/30 Chris@16: /// Chris@16: Chris@101: #include Chris@16: #include Chris@16: Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: Chris@16: #include Chris@16: Chris@16: namespace boost { Chris@16: Chris@16: namespace units { Chris@16: Chris@16: namespace si { Chris@16: Chris@16: namespace constants { Chris@16: Chris@16: namespace codata { Chris@16: Chris@16: // ELECTROMAGNETIC Chris@16: /// elementary charge Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(e,quantity,1.602176487e-19*coulombs,4.0e-27*coulombs); Chris@16: /// elementary charge to Planck constant ratio Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(e_over_h,quantity,2.417989454e14*amperes/joule,6.0e6*amperes/joule); Chris@16: /// magnetic flux quantum Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(Phi_0,quantity,2.067833667e-15*webers,5.2e-23*webers); Chris@16: /// conductance quantum Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(G_0,quantity,7.7480917004e-5*siemens,5.3e-14*siemens); Chris@16: /// Josephson constant Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(K_J,quantity,483597.891e9*hertz/volt,1.2e7*hertz/volt); Chris@16: /// von Klitzing constant Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(R_K,quantity,25812.807557*ohms,1.77e-5*ohms); Chris@16: /// Bohr magneton Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(mu_B,quantity,927.400915e-26*joules/tesla,2.3e-31*joules/tesla); Chris@16: /// nuclear magneton Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(mu_N,quantity,5.05078324e-27*joules/tesla,1.3e-34*joules/tesla); Chris@16: Chris@16: } // namespace codata Chris@16: Chris@16: } // namespace constants Chris@16: Chris@16: } // namespace si Chris@16: Chris@16: } // namespace units Chris@16: Chris@16: } // namespace boost Chris@16: Chris@16: #endif // BOOST_UNITS_CODATA_ELECTROMAGNETIC_CONSTANTS_HPP