Class Boltzmann

java.lang.Object
  |
  +--FermiDirac
        |
        +--Boltzmann

class Boltzmann
extends FermiDirac

Approximation to the Fermi-Dirac distribution, using the Boltzmann distribution.


Fields inherited from class FermiDirac
ef, t
 
Constructor Summary
Boltzmann()
           
 
Method Summary
 double evaluate(double x)
           
 
Methods inherited from class FermiDirac
getEF, getT, setEF, setT
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Boltzmann

public Boltzmann()
Method Detail

evaluate

public double evaluate(double x)
Overrides:
evaluate in class FermiDirac
Parameters:
x - The energy to evaluate for
Returns:
exp(-(x-ef)/kT) or 1-exp((x-ef)/kT), depending on the sign of x-ef