PhysicalConstants
Overview
This object lists physical constants to use consistent values across TMAP8. It contains the values listed in Table 1. To use these constants in the code, add #include "PhysicalConstants.h"
at the top of your class and use PhysicalConstants::<IN_CODE_NAME>
. For example, to use the ideal gas constant, use PhysicalConstants::ideal_gas_constant
.
Table 1: List of physical constants available in PhysicalConstants.
Symbol | In code name | Description | Value | Units | Reference |
---|---|---|---|---|---|
avogadro_number | Avogadro's number | 6.02214076e23 | atoms/mol | Tiesinga et al. (2021) | |
boltzmann_constant | Boltzmann constant | 1.380649e-23 | J/K | Tiesinga et al. (2021) | |
eV_to_J | Conversion coefficient from eV to Joules | 1.602176634e-19 | eV/J | Tiesinga et al. (2021) | |
ideal_gas_constant | Ideal gas constant | 8.31446261815324 | J/K/mol | Tiesinga et al. (2021) | |
stefan_boltzmann_constant | Stefan-Boltzmann constant | 5.670374419e-8 | W/m2/K4 | Tiesinga et al. (2021) |
References
- Eite Tiesinga, Peter Mohr, David Newell, and Barry Taylor.
CODATA recommended values of the fundamental physical constants: 2018.
Reviews of Modern Physics, 2021-06-30 04:06:00 2021.
URL: https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=931443, doi:https://doi.org/10.1103/RevModPhys.93.025010.[BibTeX]