Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
Qucs Physical Constants

Macros

#define C0   299792458.0
 speed of light in vacuum ( $c_0$) More...
 
#define MU0   12.566370614e-7
 magnetic constant of vacuum ( $\mu_0=4\pi\times10^{-7}$) More...
 
#define E0   8.854187817e-12
 Electric constant of vacuum $\varepsilon_0$. More...
 
#define Z0   376.73031346958504364963
 Wave impedance in vacuum ( $Z_0=\sqrt{\frac{\mu_0}{\varepsilon_0}}$) More...
 
#define Hp   6.626069311e-34
 Planck constant ( $h$) More...
 
#define K   -273.15
 Absolute 0 in centigrade. More...
 
#define T0   290
 standard temperature More...
 
#define kB   1.380650524e-23
 Boltzmann constant ( $k_B$) More...
 
#define Q_e   1.6021765314e-19
 Elementary charge ( $q_e$) More...
 
#define kBoverQ   0.86173433260414314916e-4
 Boltzmann constant over Elementary charge ( $k_B/q_e$) More...
 
#define QoverkB   1.16045045690360379713e+4
 Elementary charge over Boltzmann constant ( $q_e/k_B$) More...
 
#define ESiO2   3.9
 Relative permittivity of Silicon dioxide (Silica) More...
 
#define ESi   11.7
 Relative permittivity of Silicon. More...
 
#define EGe   15.8
 relative permittivity of Germanium More...
 
#define EGaAs   13.1
 Relative permittivity of Gallium(III) arsenide. More...
 
#define NiSi   1.45e16
 Intrinsic carrier concentration in 1/m^3 of Silicon. More...
 
#define NiGe   2.40e19
 Intrinsic carrier concentration in 1/m^3 of Germanium. More...
 
#define NiGaAs   9.00e12
 Intrinsic carrier concentration in 1/m^3 of Gallium(III) arsenide. More...
 
#define EgSi   1.11
 Energy gap at 300K in eV of Silicon. More...
 
#define EgSchottky   0.69
 Energy gap at 300K in eV of Schottky. More...
 
#define EgGe   0.67
 Energy gap at 300K in eV of Germanium. More...
 
#define EgGaAs   1.43
 Energy gap at 300K in eV of Gallium(III) arsenide. More...
 
#define Eg0Si   1.16
 Energy gap at 0K in eV of Silicon. More...
 
#define GMin   NR_TINY
 Gmin. More...
 
#define cubic(x)   ((x) * (x) * (x))
 
#define kelvin(x)   ((x) - K)
 
#define degree(x)   (K + (x))
 Convert celcius to kelvin. More...
 
#define rad(x)   (M_PI * (x) / 180.0)
 Convert degree to radian. More...
 
#define deg(x)   (180.0 * (x) / M_PI)
 Convert radian to degree. More...
 
#define MAX(x, y)   (((x) > (y)) ? (x) : (y))
 Maximum of x and y. More...
 
#define MIN(x, y)   (((x) < (y)) ? (x) : (y))
 Minimum of x and y. More...
 

Detailed Description

Qucs physical constants

Macro Definition Documentation

#define C0   299792458.0

speed of light in vacuum ( $c_0$)

Definition at line 47 of file constants.h.

#define cubic (   x)    ((x) * (x) * (x))

Definition at line 106 of file constants.h.

#define deg (   x)    (180.0 * (x) / M_PI)

Convert radian to degree.

Todo:

Better as static inline

Rename as rad2deg

Definition at line 123 of file constants.h.

#define degree (   x)    (K + (x))

Convert celcius to kelvin.

Todo:

Better as static inline

Rename as celcius2kelvin

Definition at line 113 of file constants.h.

#define E0   8.854187817e-12

Electric constant of vacuum $\varepsilon_0$.

Definition at line 51 of file constants.h.

#define Eg0Si   1.16

Energy gap at 0K in eV of Silicon.

Definition at line 97 of file constants.h.

#define EGaAs   13.1

Relative permittivity of Gallium(III) arsenide.

Definition at line 79 of file constants.h.

#define EGe   15.8

relative permittivity of Germanium

Definition at line 77 of file constants.h.

#define EgGaAs   1.43

Energy gap at 300K in eV of Gallium(III) arsenide.

Definition at line 95 of file constants.h.

#define EgGe   0.67

Energy gap at 300K in eV of Germanium.

Definition at line 93 of file constants.h.

#define EgSchottky   0.69

Energy gap at 300K in eV of Schottky.

Todo:
What kind of metal (ideal, real, gold)?

Definition at line 91 of file constants.h.

#define EgSi   1.11

Energy gap at 300K in eV of Silicon.

Definition at line 87 of file constants.h.

#define ESi   11.7

Relative permittivity of Silicon.

Definition at line 75 of file constants.h.

#define ESiO2   3.9

Relative permittivity of Silicon dioxide (Silica)

Definition at line 73 of file constants.h.

#define GMin   NR_TINY

Gmin.

Todo:
move these simulator constants and macros elsewhere.
Todo:
Define and document

Definition at line 104 of file constants.h.

#define Hp   6.626069311e-34

Planck constant ( $h$)

Todo:
Add h bar ( $h/(2\pi)$)

Definition at line 57 of file constants.h.

#define K   -273.15

Absolute 0 in centigrade.

Definition at line 59 of file constants.h.

#define kB   1.380650524e-23

Boltzmann constant ( $k_B$)

Definition at line 64 of file constants.h.

#define kBoverQ   0.86173433260414314916e-4

Boltzmann constant over Elementary charge ( $k_B/q_e$)

Definition at line 68 of file constants.h.

#define kelvin (   x)    ((x) - K)

Definition at line 108 of file constants.h.

#define MAX (   x,
  y 
)    (((x) > (y)) ? (x) : (y))

Maximum of x and y.

Definition at line 127 of file constants.h.

#define MIN (   x,
  y 
)    (((x) < (y)) ? (x) : (y))

Minimum of x and y.

Definition at line 132 of file constants.h.

#define MU0   12.566370614e-7

magnetic constant of vacuum ( $\mu_0=4\pi\times10^{-7}$)

Definition at line 49 of file constants.h.

#define NiGaAs   9.00e12

Intrinsic carrier concentration in 1/m^3 of Gallium(III) arsenide.

Definition at line 85 of file constants.h.

#define NiGe   2.40e19

Intrinsic carrier concentration in 1/m^3 of Germanium.

Definition at line 83 of file constants.h.

#define NiSi   1.45e16

Intrinsic carrier concentration in 1/m^3 of Silicon.

Definition at line 81 of file constants.h.

#define Q_e   1.6021765314e-19

Elementary charge ( $q_e$)

Definition at line 66 of file constants.h.

#define QoverkB   1.16045045690360379713e+4

Elementary charge over Boltzmann constant ( $q_e/k_B$)

Definition at line 70 of file constants.h.

#define rad (   x)    (M_PI * (x) / 180.0)

Convert degree to radian.

Todo:

Better as static inline

Rename as deg2rad

Definition at line 118 of file constants.h.

#define T0   290

standard temperature

Definition at line 61 of file constants.h.

#define Z0   376.73031346958504364963

Wave impedance in vacuum ( $Z_0=\sqrt{\frac{\mu_0}{\varepsilon_0}}$)

Definition at line 53 of file constants.h.