Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-19 09:48:52

0001 // Boost.Units - A C++ library for zero-overhead dimensional analysis and 
0002 // unit/quantity manipulation and conversion
0003 //
0004 // Copyright (C) 2003-2008 Matthias Christian Schabel
0005 // Copyright (C) 2008 Steven Watanabe
0006 //
0007 // Distributed under the Boost Software License, Version 1.0. (See
0008 // accompanying file LICENSE_1_0.txt or copy at
0009 // http://www.boost.org/LICENSE_1_0.txt)
0010 
0011 #ifndef BOOST_UNITS_CODATA_PHYSICO_CHEMICAL_CONSTANTS_HPP
0012 #define BOOST_UNITS_CODATA_PHYSICO_CHEMICAL_CONSTANTS_HPP
0013 
0014 #include <boost/units/pow.hpp>
0015 #include <boost/units/quantity.hpp>
0016 #include <boost/units/static_constant.hpp>
0017 
0018 #include <boost/units/systems/detail/constants.hpp>
0019 #include <boost/units/systems/si/amount.hpp>
0020 #include <boost/units/systems/si/area.hpp>
0021 #include <boost/units/systems/si/electric_charge.hpp>
0022 #include <boost/units/systems/si/energy.hpp>
0023 #include <boost/units/systems/si/frequency.hpp>
0024 #include <boost/units/systems/si/mass.hpp>
0025 #include <boost/units/systems/si/power.hpp>
0026 #include <boost/units/systems/si/solid_angle.hpp>
0027 #include <boost/units/systems/si/temperature.hpp>
0028 
0029 #include <boost/units/systems/si/codata/typedefs.hpp>
0030 
0031 /// \file
0032 /// CODATA recommended values of fundamental physico-chemical constants
0033 /// CODATA 2014 values as of 2016/04/26
0034 
0035 namespace boost {
0036 
0037 namespace units { 
0038 
0039 namespace si {
0040                             
0041 namespace constants {
0042 
0043 namespace codata {
0044 
0045 // PHYSICO-CHEMICAL
0046 /// Avogadro constant
0047 BOOST_UNITS_PHYSICAL_CONSTANT(N_A,quantity<inverse_amount>,6.022140857e23/mole,7.4e15/mole);
0048 /// atomic mass constant
0049 BOOST_UNITS_PHYSICAL_CONSTANT(m_u,quantity<mass>,1.660539040e-27*kilograms,2.0e-35*kilograms);
0050 /// Faraday constant
0051 BOOST_UNITS_PHYSICAL_CONSTANT(F,quantity<electric_charge_over_amount>,96485.33289*coulombs/mole,5.9e-4*coulombs/mole);
0052 /// molar gas constant
0053 BOOST_UNITS_PHYSICAL_CONSTANT(R,quantity<energy_over_temperature_amount>,8.3144598*joules/kelvin/mole,4.8e-06*joules/kelvin/mole);
0054 /// Boltzmann constant
0055 BOOST_UNITS_PHYSICAL_CONSTANT(k_B,quantity<energy_over_temperature>,1.38064852e-23*joules/kelvin,7.9e-30*joules/kelvin);
0056 /// Stefan-Boltzmann constant
0057 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));
0058 /// first radiation constant
0059 BOOST_UNITS_PHYSICAL_CONSTANT(c_1,quantity<power_area>,3.741771790e-16*watt*square_meters,4.6e-24*watt*square_meters);
0060 /// first radiation constant for spectral radiance
0061 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);
0062 /// second radiation constant
0063 BOOST_UNITS_PHYSICAL_CONSTANT(c_2,quantity<length_temperature>,1.43877736e-2*meter*kelvin,8.3e-9*meter*kelvin);
0064 /// Wien displacement law constant : lambda_max T
0065 BOOST_UNITS_PHYSICAL_CONSTANT(b,quantity<length_temperature>,2.8977729e-3*meter*kelvin,1.7e-9*meter*kelvin);
0066 /// Wien displacement law constant : nu_max/T
0067 BOOST_UNITS_PHYSICAL_CONSTANT(b_prime,quantity<frequency_over_temperature>,5.8789238e10*hertz/kelvin,3.4e4*hertz/kelvin);
0068 
0069 } // namespace codata
0070 
0071 } // namespace constants    
0072 
0073 } // namespace si
0074 
0075 } // namespace units
0076 
0077 } // namespace boost
0078 
0079 #endif // BOOST_UNITS_CODATA_PHYSICO_CHEMICAL_CONSTANTS_HPP