Class boson_rel_tl (o2scl)¶
-
template<class be_inte_t = bessel_K_exp_integ_gsl, class fp_t = double>
class boson_rel_tl : public o2scl::boson_thermo_tl<bessel_K_exp_integ_gsl, double>¶ Equation of state for a relativistic boson.
In class boson_rel: Testing not completely finished.
Public Functions
-
inline boson_rel_tl()¶
Create a boson with mass
m
and degeneracyg
.
-
inline virtual ~boson_rel_tl()¶
-
inline virtual void calc_mu(boson &b, fp_t temper)¶
Calculate properties as function of chemical potential.
-
inline virtual void calc_density(boson &b, fp_t temper)¶
Calculate properties as function of density.
-
inline virtual void calc_max_density(boson &b, fp_t temper)¶
Calculate the maximum density as a function of temperature.
-
inline virtual void pair_mu(boson &b, fp_t temper)¶
Calculate properties with antiparticles as function of chemical potential.
-
inline virtual void pair_density(boson &b, fp_t temper)¶
Calculate properties with antiparticles as function of density.
-
inline virtual void nu_from_n(boson &b, fp_t 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.
Protected Functions
-
inline int solve_fun(size_t nv, const ubvector &x, ubvector &y, fp_t density, boson &b, fp_t T)¶
Solve for the density in calc_density()
-
inline int pair_density_fun(size_t nv, const ubvector &x, ubvector &y, fp_t density, boson &b, fp_t T)¶
Solve for the density in pair_density()