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_PHYSICO_CHEMICAL_CONSTANTS_HPP Chris@16: #define BOOST_UNITS_CODATA_PHYSICO_CHEMICAL_CONSTANTS_HPP Chris@16: Chris@16: #include 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: /// \file Chris@16: /// CODATA recommended values of fundamental physico-chemical constants Chris@16: /// CODATA 2006 values as of 2007/03/30 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: // PHYSICO-CHEMICAL Chris@16: /// Avogadro constant Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(N_A,quantity,6.02214179e23/mole,3.0e16/mole); Chris@16: /// atomic mass constant Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(m_u,quantity,1.660538782e-27*kilograms,8.3e-35*kilograms); Chris@16: /// Faraday constant Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(F,quantity,96485.3399*coulombs/mole,2.4e-3*coulombs/mole); Chris@16: /// molar gas constant Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(R,quantity,8.314472*joules/kelvin/mole,1.5e-5*joules/kelvin/mole); Chris@16: /// Boltzmann constant Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(k_B,quantity,1.3806504e-23*joules/kelvin,2.4e-29*joules/kelvin); Chris@16: /// Stefan-Boltzmann constant Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(sigma_SB,quantity,5.670400e-8*watts/square_meter/pow<4>(kelvin),4.0e-13*watts/square_meter/pow<4>(kelvin)); Chris@16: /// first radiation constant Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(c_1,quantity,3.74177118e-16*watt*square_meters,1.9e-23*watt*square_meters); Chris@16: /// first radiation constant for spectral radiance Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(c_1L,quantity,1.191042759e-16*watt*square_meters/steradian,5.9e-24*watt*square_meters/steradian); Chris@16: /// second radiation constant Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(c_2,quantity,1.4387752e-2*meter*kelvin,2.5e-8*meter*kelvin); Chris@16: /// Wien displacement law constant : lambda_max T Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(b,quantity,2.8977685e-3*meter*kelvin,5.1e-9*meter*kelvin); Chris@16: /// Wien displacement law constant : nu_max/T Chris@16: BOOST_UNITS_PHYSICAL_CONSTANT(b_prime,quantity,5.878933e10*hertz/kelvin,1.0e15*hertz/kelvin); 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_PHYSICO_CHEMICAL_CONSTANTS_HPP