Class boson_rel (o2scl)¶
-
class o2scl::boson_rel : public o2scl::boson_thermo¶
Equation of state for a relativistic boson.
Todo
In class boson_rel: Testing not completely finished.
Public Functions
-
boson_rel()¶
Create a boson with mass
m
and degeneracyg
.
-
virtual ~boson_rel()¶
-
virtual void calc_mu(boson &b, double temper)¶
Calculate properties as function of chemical potential.
-
virtual void pair_mu(boson &b, double temper)¶
Calculate properties with antiparticles as function of chemical potential.
-
inline virtual void pair_density(boson &b, double temper)¶
Calculate properties with antiparticles as function of density.
-
virtual void nu_from_n(boson &b, double temper)¶
Calculate effective chemical potential from density.
-
void set_inte(inte<> &l_nit, inte<> &l_dit)¶
Set degenerate and nondegenerate integrators.
-
inline void set_density_root(root<> &rp)¶
Set the solver for use in calculating the chemical potential from the density.
-
inline virtual const char *type()¶
Return string denoting type (“boson_rel”)
Public Members
-
root_cern def_density_root¶
The default solver for calc_density().
-
inte_qagiu_gsl def_nit¶
Default nondegenerate integrator.
-
inte_qag_gsl def_dit¶
Default degenerate integrator.
Protected Functions
-
double solve_fun(double x, boson &b, double T)¶
Solve for the density in calc_density()
Protected Attributes
-
inte *nit¶
The non-degenerate integrator.
-
inte *dit¶
The degenerate integrator.
-
root *density_root¶
The solver for calc_density()