Go to the documentation of this file.
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
218 virtual const char *
type() {
return "fermion_eff"; }
223 #ifndef DOXYGEN_INTERNAL
248 #ifndef DOXYGEN_NO_O2NS
bool err_nonconv
If true, call the error handler when convergence fails (default true)
ubmatrix Pmnf
The matrix of coefficients.
int set_density_root(root<> &rp)
Set the solver for use in calculating the chemical potential from the density.
double density_fun(double x, fermion &f, double temper)
The function which solves for the chemical potential given the density.
double solve_fun(double x, double psi)
The function which solves for from .
double tlimit
If the temperature is less than tlimit then the zero-temperature functions are used (default 0).
root_cern def_density_root
The default solver for calc_density() and pair_density()
static const int cf_fermilat3
A set of coefficients from Jim Lattimer.
static const int cf_fermijel3
The larger set of coefficients from Johns96.
virtual const char * type()
Return string denoting type ("fermion_eff")
double parma
The parameter .
root * psi_root
The solver for .
virtual int calc_density(fermion &f, double temper)
Calculate thermodynamic properties as function of density.
static const int cf_fermijel2
The smaller set of coefficients from Johns96.
virtual int pair_density(fermion &f, double temper)
Calculate thermodynamic properties with antiparticles as function of density.
double pair_density_fun(double x, fermion &f, double temper)
The function which solves for the chemical potential given the density (including antiparticles)
double min_psi
The minimum value of (default -200)
void load_coefficients(int ctype)
Load coefficients.
root * density_root
The other solver for calc_density()
int set_psi_root(root<> &rp)
Set the solver for use in calculating .
static const int cf_fermijel3cons
The set of coefficients from Johns96 which retains better thermodynamic consistency.
virtual void calc_mu(fermion &f, double temper)
Calculate thermodynamic properties as function of chemical potential.
int sizem
The array row size.
fermion_eff()
Create a fermion with mass mass and degeneracy dof.
virtual void pair_mu(fermion &f, double temper)
Calculate thermodynamic properties with antiparticles as function of chemical potential.
int sizen
The array column size.
root_cern def_psi_root
The default solver for .
Fermion class from fitting method.
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).