Chris@16
|
1 // Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
Chris@16
|
2 // unit/quantity manipulation and conversion
|
Chris@16
|
3 //
|
Chris@16
|
4 // Copyright (C) 2003-2008 Matthias Christian Schabel
|
Chris@16
|
5 // Copyright (C) 2008 Steven Watanabe
|
Chris@16
|
6 //
|
Chris@16
|
7 // Distributed under the Boost Software License, Version 1.0. (See
|
Chris@16
|
8 // accompanying file LICENSE_1_0.txt or copy at
|
Chris@16
|
9 // http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
10
|
Chris@16
|
11 #ifndef BOOST_UNITS_CODATA_PHYSICO_CHEMICAL_CONSTANTS_HPP
|
Chris@16
|
12 #define BOOST_UNITS_CODATA_PHYSICO_CHEMICAL_CONSTANTS_HPP
|
Chris@16
|
13
|
Chris@16
|
14 #include <boost/units/pow.hpp>
|
Chris@101
|
15 #include <boost/units/quantity.hpp>
|
Chris@16
|
16 #include <boost/units/static_constant.hpp>
|
Chris@16
|
17
|
Chris@16
|
18 #include <boost/units/systems/detail/constants.hpp>
|
Chris@16
|
19 #include <boost/units/systems/si/amount.hpp>
|
Chris@16
|
20 #include <boost/units/systems/si/area.hpp>
|
Chris@16
|
21 #include <boost/units/systems/si/electric_charge.hpp>
|
Chris@16
|
22 #include <boost/units/systems/si/energy.hpp>
|
Chris@16
|
23 #include <boost/units/systems/si/frequency.hpp>
|
Chris@16
|
24 #include <boost/units/systems/si/mass.hpp>
|
Chris@16
|
25 #include <boost/units/systems/si/power.hpp>
|
Chris@16
|
26 #include <boost/units/systems/si/solid_angle.hpp>
|
Chris@16
|
27 #include <boost/units/systems/si/temperature.hpp>
|
Chris@16
|
28
|
Chris@16
|
29 #include <boost/units/systems/si/codata/typedefs.hpp>
|
Chris@16
|
30
|
Chris@16
|
31 /// \file
|
Chris@16
|
32 /// CODATA recommended values of fundamental physico-chemical constants
|
Chris@16
|
33 /// CODATA 2006 values as of 2007/03/30
|
Chris@16
|
34
|
Chris@16
|
35 namespace boost {
|
Chris@16
|
36
|
Chris@16
|
37 namespace units {
|
Chris@16
|
38
|
Chris@16
|
39 namespace si {
|
Chris@16
|
40
|
Chris@16
|
41 namespace constants {
|
Chris@16
|
42
|
Chris@16
|
43 namespace codata {
|
Chris@16
|
44
|
Chris@16
|
45 // PHYSICO-CHEMICAL
|
Chris@16
|
46 /// Avogadro constant
|
Chris@16
|
47 BOOST_UNITS_PHYSICAL_CONSTANT(N_A,quantity<inverse_amount>,6.02214179e23/mole,3.0e16/mole);
|
Chris@16
|
48 /// atomic mass constant
|
Chris@16
|
49 BOOST_UNITS_PHYSICAL_CONSTANT(m_u,quantity<mass>,1.660538782e-27*kilograms,8.3e-35*kilograms);
|
Chris@16
|
50 /// Faraday constant
|
Chris@16
|
51 BOOST_UNITS_PHYSICAL_CONSTANT(F,quantity<electric_charge_over_amount>,96485.3399*coulombs/mole,2.4e-3*coulombs/mole);
|
Chris@16
|
52 /// molar gas constant
|
Chris@16
|
53 BOOST_UNITS_PHYSICAL_CONSTANT(R,quantity<energy_over_temperature_amount>,8.314472*joules/kelvin/mole,1.5e-5*joules/kelvin/mole);
|
Chris@16
|
54 /// Boltzmann constant
|
Chris@16
|
55 BOOST_UNITS_PHYSICAL_CONSTANT(k_B,quantity<energy_over_temperature>,1.3806504e-23*joules/kelvin,2.4e-29*joules/kelvin);
|
Chris@16
|
56 /// Stefan-Boltzmann constant
|
Chris@16
|
57 BOOST_UNITS_PHYSICAL_CONSTANT(sigma_SB,quantity<power_over_area_temperature_4>,5.670400e-8*watts/square_meter/pow<4>(kelvin),4.0e-13*watts/square_meter/pow<4>(kelvin));
|
Chris@16
|
58 /// first radiation constant
|
Chris@16
|
59 BOOST_UNITS_PHYSICAL_CONSTANT(c_1,quantity<power_area>,3.74177118e-16*watt*square_meters,1.9e-23*watt*square_meters);
|
Chris@16
|
60 /// first radiation constant for spectral radiance
|
Chris@16
|
61 BOOST_UNITS_PHYSICAL_CONSTANT(c_1L,quantity<power_area_over_solid_angle>,1.191042759e-16*watt*square_meters/steradian,5.9e-24*watt*square_meters/steradian);
|
Chris@16
|
62 /// second radiation constant
|
Chris@16
|
63 BOOST_UNITS_PHYSICAL_CONSTANT(c_2,quantity<length_temperature>,1.4387752e-2*meter*kelvin,2.5e-8*meter*kelvin);
|
Chris@16
|
64 /// Wien displacement law constant : lambda_max T
|
Chris@16
|
65 BOOST_UNITS_PHYSICAL_CONSTANT(b,quantity<length_temperature>,2.8977685e-3*meter*kelvin,5.1e-9*meter*kelvin);
|
Chris@16
|
66 /// Wien displacement law constant : nu_max/T
|
Chris@16
|
67 BOOST_UNITS_PHYSICAL_CONSTANT(b_prime,quantity<frequency_over_temperature>,5.878933e10*hertz/kelvin,1.0e15*hertz/kelvin);
|
Chris@16
|
68
|
Chris@16
|
69 } // namespace codata
|
Chris@16
|
70
|
Chris@16
|
71 } // namespace constants
|
Chris@16
|
72
|
Chris@16
|
73 } // namespace si
|
Chris@16
|
74
|
Chris@16
|
75 } // namespace units
|
Chris@16
|
76
|
Chris@16
|
77 } // namespace boost
|
Chris@16
|
78
|
Chris@16
|
79 #endif // BOOST_UNITS_CODATA_PHYSICO_CHEMICAL_CONSTANTS_HPP
|