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.

SymbolIn code nameDescriptionValueUnitsReference
avogadro_numberAvogadro's number6.02214076e23atoms/molTiesinga et al. (2021)
boltzmann_constantBoltzmann constant1.380649e-23J/KTiesinga et al. (2021)
eV_to_JConversion coefficient from eV to Joules1.602176634e-19eV/JTiesinga et al. (2021)
ideal_gas_constantIdeal gas constant8.31446261815324J/K/molTiesinga et al. (2021)
stefan_boltzmann_constantStefan-Boltzmann constant5.670374419e-8W/m2/K4Tiesinga et al. (2021)

References

  1. 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]