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 11 #ifndef BOOST_UNITS_CODATA_PHYSICO_CHEMICAL_CONSTANTS_HPP 12 #define BOOST_UNITS_CODATA_PHYSICO_CHEMICAL_CONSTANTS_HPP 13 14 #include <boost/units/pow.hpp> 15 #include <boost/units/quantity.hpp> 16 #include <boost/units/static_constant.hpp> 17 18 #include <boost/units/systems/detail/constants.hpp> 19 #include <boost/units/systems/si/amount.hpp> 20 #include <boost/units/systems/si/area.hpp> 21 #include <boost/units/systems/si/electric_charge.hpp> 22 #include <boost/units/systems/si/energy.hpp> 23 #include <boost/units/systems/si/frequency.hpp> 24 #include <boost/units/systems/si/mass.hpp> 25 #include <boost/units/systems/si/power.hpp> 26 #include <boost/units/systems/si/solid_angle.hpp> 27 #include <boost/units/systems/si/temperature.hpp> 28 29 #include <boost/units/systems/si/codata/typedefs.hpp> 30 31 /// \file 32 /// CODATA recommended values of fundamental physico-chemical constants 33 /// CODATA 2014 values as of 2016/04/26 34 35 namespace boost { 36 37 namespace units { 38 39 namespace si { 40 41 namespace constants { 42 43 namespace codata { 44 45 // PHYSICO-CHEMICAL 46 /// Avogadro constant 47 BOOST_UNITS_PHYSICAL_CONSTANT(N_A,quantity<inverse_amount>,6.022140857e23/mole,7.4e15/mole); 48 /// atomic mass constant 49 BOOST_UNITS_PHYSICAL_CONSTANT(m_u,quantity<mass>,1.660539040e-27*kilograms,2.0e-35*kilograms); 50 /// Faraday constant 51 BOOST_UNITS_PHYSICAL_CONSTANT(F,quantity<electric_charge_over_amount>,96485.33289*coulombs/mole,5.9e-4*coulombs/mole); 52 /// molar gas constant 53 BOOST_UNITS_PHYSICAL_CONSTANT(R,quantity<energy_over_temperature_amount>,8.3144598*joules/kelvin/mole,4.8e-06*joules/kelvin/mole); 54 /// Boltzmann constant 55 BOOST_UNITS_PHYSICAL_CONSTANT(k_B,quantity<energy_over_temperature>,1.38064852e-23*joules/kelvin,7.9e-30*joules/kelvin); 56 /// Stefan-Boltzmann constant 57 BOOST_UNITS_PHYSICAL_CONSTANT(sigma_SB,quantity<power_over_area_temperature_4>,5.670367e-8*watts/square_meter/pow<4>(kelvin),1.3e-13*watts/square_meter/pow<4>(kelvin)); 58 /// first radiation constant 59 BOOST_UNITS_PHYSICAL_CONSTANT(c_1,quantity<power_area>,3.741771790e-16*watt*square_meters,4.6e-24*watt*square_meters); 60 /// first radiation constant for spectral radiance 61 BOOST_UNITS_PHYSICAL_CONSTANT(c_1L,quantity<power_area_over_solid_angle>,1.191042953e-16*watt*square_meters/steradian,1.5e-24*watt*square_meters/steradian); 62 /// second radiation constant 63 BOOST_UNITS_PHYSICAL_CONSTANT(c_2,quantity<length_temperature>,1.43877736e-2*meter*kelvin,8.3e-9*meter*kelvin); 64 /// Wien displacement law constant : lambda_max T 65 BOOST_UNITS_PHYSICAL_CONSTANT(b,quantity<length_temperature>,2.8977729e-3*meter*kelvin,1.7e-9*meter*kelvin); 66 /// Wien displacement law constant : nu_max/T 67 BOOST_UNITS_PHYSICAL_CONSTANT(b_prime,quantity<frequency_over_temperature>,5.8789238e10*hertz/kelvin,3.4e4*hertz/kelvin); 68 69 } // namespace codata 70 71 } // namespace constants 72 73 } // namespace si 74 75 } // namespace units 76 77 } // namespace boost 78 79 #endif // BOOST_UNITS_CODATA_PHYSICO_CHEMICAL_CONSTANTS_HPP 80