ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
viennashe::physics::detail::constants< dummy > Struct Template Reference

Implementation class holding basic physics constants. More...

#include <constants.hpp>

Static Public Attributes

static const double c_0 = 299792458.0
 Speed of light in vacuum. More...
 
static const double mass_electron = 9.10938291e-31
 Electron rest mass. More...
 
static const double q = 1.602176565e-19
 Elementary charge. More...
 
static const double kB = 1.3806488e-23
 Boltzmann constant. More...
 
static const double h = 6.62606896e-34
 Planck constant. More...
 
static const double hbar = 6.62606896e-34 / (2.0 * 3.1415926535897932384626433832795)
 Modified Planck constant. More...
 
static const double eps_0 = 1.0e7 / ( 4.0 * 3.1415926535897932384626433832795 * 299792458.0 * 299792458.0)
 Permittivity of vacuum. More...
 
static const double mu_0 = ( 4.0 * 3.1415926535897932384626433832795 ) * 1.0e-7
 Permeability of vacuum. More...
 
static const double ni = 1.08e16
 Intrinsic carrier concentration in silicon. More...
 

Detailed Description

template<bool dummy = true>
struct viennashe::physics::detail::constants< dummy >

Implementation class holding basic physics constants.

Definition at line 37 of file constants.hpp.

Member Data Documentation

◆ c_0

template<bool b>
const double viennashe::physics::detail::constants< b >::c_0 = 299792458.0
static

Speed of light in vacuum.

Definition at line 40 of file constants.hpp.

◆ eps_0

template<bool b>
const double viennashe::physics::detail::constants< b >::eps_0 = 1.0e7 / ( 4.0 * 3.1415926535897932384626433832795 * 299792458.0 * 299792458.0)
static

Permittivity of vacuum.

Definition at line 52 of file constants.hpp.

◆ h

template<bool b>
const double viennashe::physics::detail::constants< b >::h = 6.62606896e-34
static

Planck constant.

Definition at line 48 of file constants.hpp.

◆ hbar

template<bool b>
const double viennashe::physics::detail::constants< b >::hbar = 6.62606896e-34 / (2.0 * 3.1415926535897932384626433832795)
static

Modified Planck constant.

Definition at line 50 of file constants.hpp.

◆ kB

template<bool b>
const double viennashe::physics::detail::constants< b >::kB = 1.3806488e-23
static

Boltzmann constant.

Definition at line 46 of file constants.hpp.

◆ mass_electron

template<bool b>
const double viennashe::physics::detail::constants< b >::mass_electron = 9.10938291e-31
static

Electron rest mass.

Definition at line 42 of file constants.hpp.

◆ mu_0

template<bool b>
const double viennashe::physics::detail::constants< b >::mu_0 = ( 4.0 * 3.1415926535897932384626433832795 ) * 1.0e-7
static

Permeability of vacuum.

Definition at line 54 of file constants.hpp.

◆ ni

template<bool b>
const double viennashe::physics::detail::constants< b >::ni = 1.08e16
static

Intrinsic carrier concentration in silicon.

Definition at line 56 of file constants.hpp.

◆ q

template<bool b>
const double viennashe::physics::detail::constants< b >::q = 1.602176565e-19
static

Elementary charge.

Definition at line 44 of file constants.hpp.


The documentation for this struct was generated from the following file: