Class fermion_deriv_thermo_tl (o2scl)

O2scl : Class List

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

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

Todo

Class fermion_deriv_thermo_tl

Future:

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

  • 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.

Subclassed by o2scl::fermion_deriv_nr_tl< fermion_deriv_t, fp_t >, o2scl::fermion_deriv_rel_tl< fermion_deriv_t, fermion_rel_t, nit_t, dit_t, fp_t >

Public Functions

inline fermion_deriv_thermo_tl()
inline virtual ~fermion_deriv_thermo_tl()
virtual int calc_mu(fermion_deriv_t &f, fp_t temper) = 0

Calculate properties as function of chemical potential.

virtual int calc_density(fermion_deriv_t &f, fp_t temper) = 0

Calculate properties as function of density.

virtual int pair_mu(fermion_deriv_t &f, fp_t temper) = 0

Calculate properties with antiparticles as function of chemical potential.

virtual int pair_density(fermion_deriv_t &f, fp_t temper) = 0

Calculate properties with antiparticles as function of density.

virtual int nu_from_n(fermion_deriv_t &f, fp_t temper) = 0

Calculate effective chemical potential from density.

inline virtual bool calc_mu_deg(fermion_deriv_t &f, fp_t temper, fp_t prec)

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

\verbatim embed:rst

.. todo::

   Class fermion_deriv_thermo_tl

   Future: There is some repetition of the code for this
   function and the function \ref
   o2scl::fermion_thermo_tl::calc_mu_deg() . which could be
   avoided.
inline virtual bool calc_mu_ndeg(fermion_deriv_t &f, fp_t temper, fp_t prec, bool inc_antip = false)

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

\verbatim embed:rst

.. todo::

   Class fermion_deriv_thermo_tl

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

\endverbatim

Protected Attributes

fermion_rel_tl<fermion_deriv_t> 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.