Class fermion_deriv_thermo_tl (o2scl)¶
-
template<class fermion_deriv_t = fermion_deriv, class fermion_rel_t = fermion_rel_tl<fermion_deriv_t>, 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? (This is done, see dndmu_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_rel_tl< fermion_deriv_tl< long double >, fermion_rel_ld, inte_double_exp_boost<>, inte_double_exp_boost<>, long double >, o2scl::fermion_deriv_rel_tl< fermion_deriv_tl< cpp_dec_float_25 >, fermion_rel_cdf25, inte_double_exp_boost<>, inte_double_exp_boost<>, cpp_dec_float_25 >, 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 void calc_deriv_zerot(fermion_deriv_t &f)¶
Compute ( dn/d\nu ) at ( T=0 ) presuming the Fermi momentum and chemical potential have already been computed.
-
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. \endverbatim
-
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_t fr¶
A fermion_thermo object.
This is for access to fermion_thermo::ndeg_terms().