triton_constants.hpp 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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_TRITON_CONSTANTS_HPP
  11. #define BOOST_UNITS_CODATA_TRITON_CONSTANTS_HPP
  12. #include <boost/units/quantity.hpp>
  13. #include <boost/units/static_constant.hpp>
  14. #include <boost/units/systems/detail/constants.hpp>
  15. #include <boost/units/systems/si/amount.hpp>
  16. #include <boost/units/systems/si/area.hpp>
  17. #include <boost/units/systems/si/electric_charge.hpp>
  18. #include <boost/units/systems/si/energy.hpp>
  19. #include <boost/units/systems/si/frequency.hpp>
  20. #include <boost/units/systems/si/length.hpp>
  21. #include <boost/units/systems/si/mass.hpp>
  22. #include <boost/units/systems/si/magnetic_flux_density.hpp>
  23. #include <boost/units/systems/si/time.hpp>
  24. #include <boost/units/systems/si/wavenumber.hpp>
  25. #include <boost/units/systems/si/codata/typedefs.hpp>
  26. /// \file
  27. /// CODATA recommended values of fundamental atomic and nuclear constants
  28. /// CODATA 2006 values as of 2007/03/30
  29. namespace boost {
  30. namespace units {
  31. namespace si {
  32. namespace constants {
  33. namespace codata {
  34. /// CODATA recommended values of the fundamental physical constants: NIST SP 961
  35. /// triton mass
  36. BOOST_UNITS_PHYSICAL_CONSTANT(m_t,quantity<mass>,5.00735588e-27*kilograms,2.5e-34*kilograms);
  37. /// triton-electron mass ratio
  38. BOOST_UNITS_PHYSICAL_CONSTANT(m_t_over_m_e,quantity<dimensionless>,5496.9215269*dimensionless(),5.1e-6*dimensionless());
  39. /// triton-proton mass ratio
  40. BOOST_UNITS_PHYSICAL_CONSTANT(m_t_over_m_p,quantity<dimensionless>,2.9937170309*dimensionless(),2.5e-9*dimensionless());
  41. /// triton molar mass
  42. BOOST_UNITS_PHYSICAL_CONSTANT(M_t,quantity<mass_over_amount>,3.0155007134e-3*kilograms/mole,2.5e-12*kilograms/mole);
  43. /// triton magnetic moment
  44. BOOST_UNITS_PHYSICAL_CONSTANT(mu_t,quantity<energy_over_magnetic_flux_density>,1.504609361e-26*joules/tesla,4.2e-34*joules/tesla);
  45. /// triton-Bohr magneton ratio
  46. BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_B,quantity<dimensionless>,1.622393657e-3*dimensionless(),2.1e-11*dimensionless());
  47. /// triton-nuclear magneton ratio
  48. BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_N,quantity<dimensionless>,2.978962448*dimensionless(),3.8e-8*dimensionless());
  49. /// triton g-factor
  50. BOOST_UNITS_PHYSICAL_CONSTANT(g_t,quantity<dimensionless>,5.957924896*dimensionless(),7.6e-8*dimensionless());
  51. /// triton-electron magnetic moment ratio
  52. BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_e,quantity<dimensionless>,-1.620514423e-3*dimensionless(),2.1e-11*dimensionless());
  53. /// triton-proton magnetic moment ratio
  54. BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_p,quantity<dimensionless>,1.066639908*dimensionless(),1.0e-8*dimensionless());
  55. /// triton-neutron magnetic moment ratio
  56. BOOST_UNITS_PHYSICAL_CONSTANT(mu_t_over_mu_n,quantity<dimensionless>,-1.55718553*dimensionless(),3.7e-7*dimensionless());
  57. } // namespace codata
  58. } // namespace constants
  59. } // namespace si
  60. } // namespace units
  61. } // namespace boost
  62. #endif // BOOST_UNITS_CODATA_TRITON_CONSTANTS_HPP