Class fermion_zerot_tl (o2scl)

O2scl : Class List

template<class fp_t = double>
class fermion_zerot_tl

Fermion properties at zero temperature.

This is a base class for the computation of fermionic statistics at zero temperature. The more general case of finite temperature is taken care of by fermion_thermo_tl objects. The primary functions are calc_mu_zerot() and calc_density_zerot() which compute all the thermodynamic quantities as a function of the chemical potential, or the density, respectively.

Subclassed by o2scl::fermion_thermo_tl< fermion_deriv_tl< double >, class o2scl::fermi_dirac_integ_gsl, o2scl::bessel_K_exp_integ_gsl, root_cern<>, funct, double >, o2scl::fermion_thermo_tl< fermion_tl< double >, fermi_dirac_integ_gsl, bessel_K_exp_integ_gsl, root_cern<>, funct, double >, o2scl::fermion_thermo_tl< fermion_tl< cpp_dec_float_25 >, fermi_dirac_integ_direct< cpp_dec_float_25, funct_cdf35, cpp_dec_float_35 >, bessel_K_exp_integ_boost< cpp_dec_float_25, cpp_dec_float_35 >, root_cern< funct_cdf25, cpp_dec_float_25 >, funct_cdf25, cpp_dec_float_25 >, o2scl::fermion_thermo_tl< fermion_tl< long double >, fermi_dirac_integ_direct< long double, funct_cdf25, cpp_dec_float_25 >, bessel_K_exp_integ_boost< long double, cpp_dec_float_25 >, root_cern< funct_ld, long double >, funct_ld, long double >, o2scl::fermion_thermo_tl< fermion_tl< double >, class o2scl::fermi_dirac_integ_gsl, o2scl::bessel_K_exp_integ_gsl, root_cern<>, funct, double >, o2scl::fermion_thermo_tl< fermion_deriv, class o2scl::fermi_dirac_integ_gsl, o2scl::bessel_K_exp_integ_gsl, root_cern<>, funct, double >, o2scl::fermion_thermo_tl< fermion_t, fd_inte_t, be_inte_t, root_t, func_t, fp_t >

Zero-temperature fermions

inline void kf_from_density(fermion_tl<fp_t> &f)

Calculate the Fermi momentum from the density.

Uses the relation \( k_F = ( 6 \pi^2 n /g )^{1/3} \)

inline void energy_density_zerot(fermion_tl<fp_t> &f)

Energy density at T=0 from o2scl::fermion_tl::kf and o2scl::part_tl::ms.

Calculates the integral

\[ \varepsilon = \frac{g}{2 \pi^2} \int_0^{k_F} k^2 \sqrt{k^2+m^{* 2}} d k \]

inline void pressure_zerot(fermion_tl<fp_t> &f)

Pressure at T=0 from o2scl::fermion_tl::kf and o2scl::part_tl::ms.

Calculates the integral

\[ P=\frac{g}{6 \pi^2} \int_0^{k_F} \frac{k^4}{\sqrt{k^2+m^{* 2}}} d k \]

inline virtual void calc_mu_zerot(fermion_tl<fp_t> &f)

Zero temperature fermions from o2scl::part_tl::mu or o2scl::part_tl::nu and o2scl::part_tl::ms.

inline virtual void calc_density_zerot(fermion_tl<fp_t> &f)

Zero temperature fermions from o2scl::part_tl::n and o2scl::part_tl::ms.

Public Functions

inline fermion_zerot_tl()
inline virtual ~fermion_zerot_tl()

Protected Attributes

fp_t pi

Store \( \pi \) for convenience.

fp_t pi2

Store \( \pi^2 \) for convenience.