Class fermion_tl (o2scl)

O2scl : Class List

template<class fp_t = double>
class fermion_tl : public o2scl::part_tl<double>

Fermion class.

This class adds two member data variables, kf and del, for the Fermi momentum and the gap, respectively.

Subclassed by o2scl::fermion_deriv_tl< double >, o2scl::fermion_deriv_tl< fp_t >

Public Functions

inline fermion_tl(fp_t mass = 0, fp_t dof = 0)

Create a fermion with mass mass and degeneracy dof.

inline virtual ~fermion_tl()
inline virtual const char *type()

Return string denoting type (“fermion_tl”)

inline fermion_tl(const fermion_tl &f)

Copy constructor.

inline fermion_tl &operator=(const fermion_tl &f)

Copy construction with operator=()

Public Members

fp_t kf

Fermi momentum.

fp_t del

Gap.