Public Member Functions | Protected Attributes | List of all members
o2scl::fermion_deriv_thermo Class Referenceabstract

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

#include <part_deriv.h>

Inheritance diagram for o2scl::fermion_deriv_thermo:
o2scl::deriv_thermo_base o2scl::fermion_deriv_nr o2scl::fermion_deriv_rel

Detailed Description

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?

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.

Definition at line 690 of file part_deriv.h.

Public Member Functions

virtual int calc_mu (fermion_deriv &f, double temper)=0
 Calculate properties as function of chemical potential.
 
virtual int calc_density (fermion_deriv &f, double temper)=0
 Calculate properties as function of density.
 
virtual int pair_mu (fermion_deriv &f, double temper)=0
 Calculate properties with antiparticles as function of chemical potential.
 
virtual int pair_density (fermion_deriv &f, double temper)=0
 Calculate properties with antiparticles as function of density.
 
virtual int nu_from_n (fermion_deriv &f, double temper)=0
 Calculate effective chemical potential from density.
 
virtual bool calc_mu_deg (fermion_deriv &f, double temper, double prec)
 Calculate properties as a function of chemical potential using a degenerate expansion. More...
 
virtual bool calc_mu_ndeg (fermion_deriv &f, double temper, double prec, bool inc_antip=false)
 Calculate properties as a function of chemical potential using a nondegenerate expansion. More...
 
- Public Member Functions inherited from o2scl::deriv_thermo_base
template<class part_deriv_t >
double heat_cap_ppart_const_vol (part_deriv_t &p, double temper)
 The heat capacity per particle at constant volume (unitless) More...
 
template<class part_deriv_t >
double heat_cap_ppart_const_press (part_deriv_t &p, double temper)
 The heat capacity per particle at constant pressure (unitless) More...
 
template<class part_deriv_t >
double compress_adiabatic (part_deriv_t &p, double temper)
 The adiabatic compressibility. More...
 
template<class part_deriv_t >
double compress_const_tptr (part_deriv_t &p, double temper)
 The isothermal compressibility. More...
 
template<class part_deriv_t >
double coeff_thermal_exp (part_deriv_t &p, double temper)
 The coefficient of thermal expansion. More...
 
template<class part_deriv_t >
double squared_sound_speed (part_deriv_t &p, double temper)
 The squared sound speed (unitless) More...
 

Protected Attributes

fermion_rel fr
 A fermion_thermo object. More...
 

Member Function Documentation

◆ calc_mu_deg()

virtual bool o2scl::fermion_deriv_thermo::calc_mu_deg ( fermion_deriv f,
double  temper,
double  prec 
)
virtual
Idea for Future:
There is some repetition of the code for this function and the function o2scl::fermion_thermo::calc_mu_deg() . which could be avoided.

◆ calc_mu_ndeg()

virtual bool o2scl::fermion_deriv_thermo::calc_mu_ndeg ( fermion_deriv f,
double  temper,
double  prec,
bool  inc_antip = false 
)
virtual
Idea for Future:
There is some repetition of the code for this function and the function o2scl::fermion_thermo::calc_mu_ndeg() . which could be avoided.

Member Data Documentation

◆ fr

fermion_rel o2scl::fermion_deriv_thermo::fr
protected

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

Definition at line 698 of file part_deriv.h.


The documentation for this class was generated from the following file:

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).