Class fermion_deriv_thermo_tl (o2scl)

O2scl_part : Class List

template<class fp_t = double>
class o2scl::fermion_deriv_thermo_tl : public o2scl::deriv_thermo_base_tl<double>

Compute properties of a fermion including derivatives [abstract base].

Idea for Future:

Include explicit zero-temperature calculation, maybe by making this a child of fermion_zerot or by making a new fermion_deriv_zerot?

Idea for Future:

There is also a closed form for the derivatives of massless fermions with pairs at finite temperature in Constantinou et al. 2014 which could be implemented here.

Public Functions

fermion_deriv_thermo_tl()
~fermion_deriv_thermo_tl()
int calc_mu(fermion_deriv &f, fp_t temper) = 0

Calculate properties as function of chemical potential.

int calc_density(fermion_deriv &f, fp_t temper) = 0

Calculate properties as function of density.

int pair_mu(fermion_deriv &f, fp_t temper) = 0

Calculate properties with antiparticles as function of chemical potential.

int pair_density(fermion_deriv &f, fp_t temper) = 0

Calculate properties with antiparticles as function of density.

int nu_from_n(fermion_deriv &f, fp_t temper) = 0

Calculate effective chemical potential from density.

bool calc_mu_deg(fermion_deriv &f, fp_t temper, fp_t prec)

Calculate properties as a function of chemical potential using a degenerate expansion.

Idea for Future:

There is some repetition of the code for this function and the function o2scl::fermion_thermo_tl::calc_mu_deg() . which could be avoided.

bool calc_mu_ndeg(fermion_deriv &f, fp_t temper, fp_t prec, bool inc_antip = false)

Calculate properties as a function of chemical potential using a nondegenerate expansion.

Idea for Future:

There is some repetition of the code for this function and the function o2scl::fermion_thermo_tl::calc_mu_ndeg() . which could be avoided.

Protected Attributes

fermion_rel_tl<fermion_deriv> fr

A fermion_thermo object.

This is for access to fermion_thermo::ndeg_terms().

fp_t pi

Store \( \pi \) for convenience.

fp_t pi2

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