PLaSK library
Loading...
Searching...
No Matches
constants.hpp File Reference

This file contains basic physical constants. More...

#include "../math.hpp"
Include dependency graph for constants.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  plask
 Patterson quadrature for complex function along specified line.
 
namespace  plask::phys
 Basic physical quantities and functions.
 

Variables

constexpr double plask::phys::qe = 1.60217733e-19
 Elementary charge [C].
 
constexpr double plask::phys::me = 9.10938291e-31
 Electron mass [kg].
 
constexpr double plask::phys::c = 299792458.
 Speed of light [m/s].
 
constexpr double plask::phys::mu0 = 4e-7 * PI
 Vacuum permeability [V*s/A/m].
 
constexpr double plask::phys::epsilon0 = 1./mu0/c/c
 Vacuum permittivity [F/m].
 
constexpr double plask::phys::Z0 = 376.73031346177066
 Free space admittance [Ω].
 
constexpr double plask::phys::h_J = 6.62606957e-34
 Planck's constant [J*s].
 
constexpr double plask::phys::h_eV = 4.135667516e-15
 Planck's constant [eV*s].
 
constexpr double plask::phys::hb_J = 0.5*h_J/PI
 Dirac's constant [J*s].
 
constexpr double plask::phys::hb_eV = 0.5*h_eV/PI
 Dirac's constant [eV*s].
 
constexpr double plask::phys::SB = 5.670373e-8
 Stefan-Boltzmann constant [W/m^2/K^4].
 
constexpr double plask::phys::kB_J = 1.3806503e-23
 Boltzmann constant [J/K].
 
constexpr double plask::phys::kB_eV = 8.6173423e-5
 Boltzmann constant [eV/K].
 
constexpr double plask::phys::h_eVc1e9 = 1239.84193009
 h_eV*c*1e9 [eV*m]
 

Detailed Description

This file contains basic physical constants.

Definition in file constants.hpp.