helion_constants.hpp 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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_HELION_CONSTANTS_HPP
  11. #define BOOST_UNITS_CODATA_HELION_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. /// helion mass
  36. BOOST_UNITS_PHYSICAL_CONSTANT(m_h,quantity<mass>,5.00641192e-27*kilograms,2.5e-34*kilograms);
  37. /// helion-electron mass ratio
  38. BOOST_UNITS_PHYSICAL_CONSTANT(m_h_over_m_e,quantity<dimensionless>,5495.8852765*dimensionless(),5.2e-6*dimensionless());
  39. /// helion-proton mass ratio
  40. BOOST_UNITS_PHYSICAL_CONSTANT(m_h_over_m_p,quantity<dimensionless>,2.9931526713*dimensionless(),2.6e-9*dimensionless());
  41. /// helion molar mass
  42. BOOST_UNITS_PHYSICAL_CONSTANT(M_h,quantity<mass_over_amount>,3.0149322473e-3*kilograms/mole,2.6e-12*kilograms/mole);
  43. /// helion shielded magnetic moment
  44. BOOST_UNITS_PHYSICAL_CONSTANT(mu_h_prime,quantity<energy_over_magnetic_flux_density>,-1.074552982e-26*joules/tesla,3.0e-34*joules/tesla);
  45. /// shielded helion-Bohr magneton ratio
  46. BOOST_UNITS_PHYSICAL_CONSTANT(mu_h_prime_over_mu_B,quantity<dimensionless>,-1.158671471e-3*dimensionless(),1.4e-11*dimensionless());
  47. /// shielded helion-nuclear magneton ratio
  48. BOOST_UNITS_PHYSICAL_CONSTANT(mu_h_prime_over_mu_N,quantity<dimensionless>,-2.127497718*dimensionless(),2.5e-8*dimensionless());
  49. /// shielded helion-proton magnetic moment ratio
  50. BOOST_UNITS_PHYSICAL_CONSTANT(mu_h_prime_over_mu_p,quantity<dimensionless>,-0.761766558*dimensionless(),1.1e-8*dimensionless());
  51. /// shielded helion-shielded proton magnetic moment ratio
  52. BOOST_UNITS_PHYSICAL_CONSTANT(mu_h_prime_over_mu_p_prime,quantity<dimensionless>,-0.7617861313*dimensionless(),3.3e-8*dimensionless());
  53. /// shielded helion gyromagnetic ratio
  54. BOOST_UNITS_PHYSICAL_CONSTANT(gamma_h_prime,quantity<frequency_over_magnetic_flux_density>,2.037894730e8/second/tesla,5.6e-0/second/tesla);
  55. } // namespace codata
  56. } // namespace constants
  57. } // namespace si
  58. } // namespace units
  59. } // namespace boost
  60. #endif // BOOST_UNITS_CODATA_HELION_CONSTANTS_HPP