atomic-nuclear_constants.hpp 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. #ifndef BOOST_UNITS_CODATA_ATOMIC_AND_NUCLEAR_CONSTANTS_HPP
  11. #define BOOST_UNITS_CODATA_ATOMIC_AND_NUCLEAR_CONSTANTS_HPP
  12. #include <boost/units/systems/si/codata/alpha_constants.hpp>
  13. #include <boost/units/systems/si/codata/deuteron_constants.hpp>
  14. #include <boost/units/systems/si/codata/electron_constants.hpp>
  15. #include <boost/units/systems/si/codata/helion_constants.hpp>
  16. #include <boost/units/systems/si/codata/muon_constants.hpp>
  17. #include <boost/units/systems/si/codata/neutron_constants.hpp>
  18. #include <boost/units/systems/si/codata/proton_constants.hpp>
  19. #include <boost/units/systems/si/codata/tau_constants.hpp>
  20. #include <boost/units/systems/si/codata/triton_constants.hpp>
  21. namespace boost {
  22. namespace units {
  23. namespace si {
  24. namespace constants {
  25. namespace codata {
  26. /// CODATA recommended values of the fundamental physical constants: NIST SP 961
  27. // ATOMIC AND NUCLEAR
  28. /// fine structure constant
  29. BOOST_UNITS_PHYSICAL_CONSTANT(alpha,quantity<dimensionless>,7.2973525376e-3*dimensionless(),5.0e-12*dimensionless());
  30. /// Rydberg constant
  31. BOOST_UNITS_PHYSICAL_CONSTANT(R_infinity,quantity<wavenumber>,10973731.568527/meter,7.3e-5/meter);
  32. /// Bohr radius
  33. BOOST_UNITS_PHYSICAL_CONSTANT(a_0,quantity<length>,0.52917720859e-10*meters,3.6e-20*meters);
  34. /// Hartree energy
  35. BOOST_UNITS_PHYSICAL_CONSTANT(E_h,quantity<energy>,4.35974394e-18*joules,2.2e-25*joules);
  36. } // namespace codata
  37. } // namespace constants
  38. } // namespace si
  39. } // namespace units
  40. } // namespace boost
  41. #endif // BOOST_UNITS_CODATA_ATOMIC_AND_NUCLEAR_CONSTANTS_HPP