Class boson_rel (o2scl)¶
-
class 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 calc_max_density(boson &b, double temper)¶
Calculate the maximum density as a function of temperature.
-
virtual void pair_mu(boson &b, double temper)¶
Calculate properties with antiparticles as function of chemical potential.
-
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.
-
inline void set_density_mroot(mroot<> &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
-
mroot_hybrids def_density_mroot¶
The default solver for calc_density().
-
inte_qagiu_gsl def_nit¶
Default nondegenerate integrator.
-
inte_qag_gsl def_dit¶
Default degenerate integrator.
-
bool verify_ti¶
If true, verify the thermodynamic identity.
-
int verbose¶
Verbosity parameter.
-
bool use_expansions¶
Verbosity parameter.
-
double deg_limit¶
-
double upper_limit_fac¶
Protected Functions
-
int solve_fun(size_t nv, const ubvector &x, ubvector &y, double density, boson &b, double T)¶
Solve for the density in calc_density()
-
int pair_density_fun(size_t nv, const ubvector &x, ubvector &y, double density, boson &b, double T)¶
Solve for the density in pair_density()