Fermi: The Fermi function

Description Usage Arguments Value Examples

View source: R/fermifunction.R

Description

The Fermi function

Usage

1
Fermi(energy, temperature = 0, fermilevel = 5.1)

Arguments

energy

numeric vector, eV (must be supplied)

temperature

numeric, temperature/Kelvin, default 0 K

fermilevel

numeric, energy/eV NB: make sure this lies within the range of the supplied energy vector. Defaults to Ef of gold, 5.100 eV.

Value

Dataframe with the following columns (and no extra attributes): $ energy : numeric, the supplied energy range $ fermilevel : numeric, the supplied fermi level $ temperature : numeric, the supplied temperature $ fermi.occupied : probability an electron state is occupied $ fermi.unoccupied : probability an electron state is unoccupied

Examples

1
## Not run: Fermi(seq(1, 10, 0.1), temperature = 400, fermilevel = 5.5)

chepec/kptech documentation built on May 27, 2019, 7:25 a.m.