1% List of physical constants
2% Thomas Helfer
3% 2017
4
5\newcommand{\mol}{\mathrm{mol}}
6
7Various physical constants now available. The values are extracted from: <http://physics.nist.gov/cuu/Constants/index.htm>
8
9|   Symbol  |       Description         |          Value               |        Unit            |
10|-----------+---------------------------+------------------------------+------------------------|
11| \(\mu\)   | Atomic mass constant      | \(1.660539040\,.10^{-27}\)   | \(kg\)                 |
12| \(N_{a}\) | Avogadro constant         | \(6.022140857\,.10^{23}\)    | \(\mol^{-1}\)          |
13| \(k_{b}\) | Boltzmann constant        | \(1.38064852\,.10^{-23} \)   | \(J.K^{-1}\)           |
14| \(G_{0}\) | Conductance quantum       | \(7.7480917310\,.10^{-5}\)   | \(S\)                  |
15| \(e_{0}\) | Electric constant         | \(8.854187817\,.10^{-12}\)   | \(F.m^{-1}\)           |
16| \(m_{e}\) | Electron mass             | \(9.10938356\,.10^{-31} \)   | \(kg\)                 |
17| \(eV\)    | Electron volt             | \(1.6021766208\,.10^{-19}\)  | \(J\)                  |
18| \(e\)     | Elementary charge         | \(1.6021766208\,.10^{-19}\)  | \(C\)                  |
19| \(F\)     | Faraday constant          | \(96485.33289\)              | \(C.\mol^{-1}\)        |
20| \(a\)     | Fine-structure constant   | \(7.2973525664\,.10^{-3}\)   |                        |
21| \(R\)     | Molar gas constant        | \(8.3144598\)                | \(J.\mol^{-1}.K^{-1}\) |
22| \(s\)     | Stefan-Boltzmann constant | \(5.670367\,.10^{-8}\)       | \(W.m^{-2}.K^{-4}\)    |
23
24# `C++`
25
26The physical constants are available as constexpr static members of
27`tfel::PhysicalConstants` class defined in the
28`TFEL/PhysicalConstants.hxx` header.
29
30~~~~{.cpp}
31using Cste   = tfel::PhysicalConstants<real>;
32const auto R = Cste::R;
33~~~~
34
35# `Python`
36
37The physical constants are available as members of the
38`tfel.PhysicalConstants` class, as follows:
39
40~~~~{.python}
41from tfel import PhysicalConstants as Cste
42print(Cste.Na)
43~~~~
44