23 #ifndef O2SCL_EFF_FERMION_H 24 #define O2SCL_EFF_FERMION_H 35 #include <boost/numeric/ublas/vector.hpp> 36 #include <boost/numeric/ublas/matrix.hpp> 38 #include <o2scl/constants.h> 39 #include <o2scl/funct.h> 40 #include <o2scl/mm_funct.h> 41 #include <o2scl/root.h> 42 #include <o2scl/mroot.h> 43 #include <o2scl/inte.h> 44 #include <o2scl/root_cern.h> 45 #include <o2scl/misc.h> 47 #include <o2scl/fermion.h> 49 #ifndef DOXYGEN_NO_O2NS 220 virtual const char *
type() {
return "fermion_eff"; }
225 #ifndef DOXYGEN_INTERNAL 250 #ifndef DOXYGEN_NO_O2NS double tlimit
If the temperature is less than tlimit then the zero-temperature functions are used (default 0)...
double parma
The parameter .
bool err_nonconv
If true, call the error handler when convergence fails (default true)
static const int cf_fermijel2
The smaller set of coefficients from Johns96.
double density_fun(double x, fermion &f, double temper)
The function which solves for the chemical potential given the density.
static const int cf_fermilat3
A set of coefficients from Jim Lattimer.
fermion_eff()
Create a fermion with mass mass and degeneracy dof.
Fermion with finite-temperature thermodynamics [abstract base].
double min_psi
The minimum value of (default -200)
int sizem
The array row size.
virtual int calc_density(fermion &f, double temper)
Calculate thermodynamic properties as function of density.
virtual int pair_density(fermion &f, double temper)
Calculate thermodynamic properties with antiparticles as function of density.
static const int cf_fermijel3cons
The set of coefficients from Johns96 which retains better thermodynamic consistency.
double solve_fun(double x, double psi)
The function which solves for from .
virtual void calc_mu(fermion &f, double temper)
Calculate thermodynamic properties as function of chemical potential.
ubmatrix Pmnf
The matrix of coefficients.
double pair_density_fun(double x, fermion &f, double temper)
The function which solves for the chemical potential given the density (including antiparticles) ...
void load_coefficients(int ctype)
Load coefficients.
Fermion class from fitting method.
static const int cf_fermijel3
The larger set of coefficients from Johns96.
root_cern def_density_root
The default solver for calc_density() and pair_density()
root_cern def_psi_root
The default solver for .
virtual void pair_mu(fermion &f, double temper)
Calculate thermodynamic properties with antiparticles as function of chemical potential.
virtual const char * type()
Return string denoting type ("fermion_eff")
root * psi_root
The solver for .
int set_psi_root(root<> &rp)
Set the solver for use in calculating .
int set_density_root(root<> &rp)
Set the solver for use in calculating the chemical potential from the density.
int sizen
The array column size.
root * density_root
The other solver for calc_density()