23 #ifndef O2SCL_PART_DERIV_H
24 #define O2SCL_PART_DERIV_H
34 #include <o2scl/part.h>
35 #include <o2scl/fermion.h>
37 #ifndef DOXYGEN_NO_O2NS
369 #ifndef DOXYGEN_NO_O2NS
double dsdT
Derivative of entropy density with respect to temperature.
double dndT
Derivative of number density with respect to temperature.
A particle data class with derivatives.
double dndmu
Derivative of number density with respect to chemical potential.
virtual int calc_mu(fermion_deriv &f, double temper)=0
Calculate properties 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 calc_density(fermion_deriv &f, double temper)=0
Calculate properties as function of density.
virtual int nu_from_n(fermion_deriv &f, double temper)=0
Calculate effective chemical potential from density.
A fermion with derivative information.
Compute properties of a fermion including derivatives [abstract base].
fermion_deriv(double mass=0.0, double dof=0.0)
Make a particle of mass mass and degeneracy dof.
virtual int pair_mu(fermion_deriv &f, double temper)=0
Calculate properties with antiparticles as function of chemical potential.
virtual bool calc_mu_deg(fermion_deriv &f, double temper, double prec)
Calculate properties as a function of chemical potential using a degenerate expansion.
part_deriv(double mass=0.0, double dof=0.0)
Make a particle of mass mass and degeneracy dof.