Class boson_thermo_tl (o2scl)¶
-
template<class be_inte_t = bessel_K_exp_integ_gsl, class fp_t = double>
class boson_thermo_tl¶ Compute the thermodynamic properties of a boson [abstract base].
Subclassed by o2scl::boson_rel_tl< be_inte_t, fp_t >
Public Functions
-
inline void ndeg_terms(size_t j, fp_t tt, fp_t xx, fp_t m, bool inc_rest_mass, bool inc_antip, fp_t &pterm, fp_t &nterm, fp_t &enterm, fp_t &edterm)¶
Compute a term in the nondegenerate expansion.
This function uses be_integ to perform the Bessel integrals.
-
inline bool calc_mu_ndeg(boson_tl<fp_t> &b, fp_t temper, fp_t prec = 1.0e-18, bool inc_antip = false)¶
Non-degenerate expansion for bosons.
-
virtual void calc_mu(boson_tl<fp_t> &b, fp_t temper) = 0¶
Calculate thermodynamic properties as function of chemical potential.
-
virtual void calc_density(boson_tl<fp_t> &b, fp_t temper) = 0¶
Calculate thermodynamic properties as function of density.
-
inline void ndeg_terms(size_t j, fp_t tt, fp_t xx, fp_t m, bool inc_rest_mass, bool inc_antip, fp_t &pterm, fp_t &nterm, fp_t &enterm, fp_t &edterm)¶