Go to the documentation of this file.
23 #ifndef O2SCL_BOSON_REL_H
24 #define O2SCL_BOSON_REL_H
34 #include <o2scl/constants.h>
35 #include <o2scl/root.h>
36 #include <o2scl/mroot.h>
37 #include <o2scl/inte.h>
38 #include <o2scl/root_cern.h>
39 #include <o2scl/inte_qag_gsl.h>
40 #include <o2scl/inte_qagiu_gsl.h>
42 #include <o2scl/boson.h>
44 #ifndef DOXYGEN_NO_O2NS
78 O2SCL_ERR(
"Function boson_rel::pair_density() unimplemented.",
105 virtual const char *
type() {
return "boson_rel"; }
109 #ifndef DOXYGEN_NO_O2NS
137 #ifndef DOXYGEN_NO_O2NS
virtual void calc_mu(boson &b, double temper)
Calculate properties as function of chemical potential.
double deg_entropy_fun(double u, boson &b, double T)
Degenerate entropy integral.
double entropy_fun(double u, boson &b, double T)
Non-degenerate entropy integral.
inte_qagiu_gsl def_nit
Default nondegenerate integrator.
double solve_fun(double x, boson &b, double T)
Solve for the density in calc_density()
inte_qag_gsl def_dit
Default degenerate integrator.
root_cern def_density_root
The default solver for calc_density().
Compute the thermodynamic properties of a boson [abstract base].
double deg_energy_fun(double u, boson &b, double T)
Degenerate energy density integral.
double energy_fun(double u, boson &b, double T)
Non-degenerate energy density integral.
Equation of state for a relativistic boson.
root * density_root
The solver for calc_density()
inte * dit
The degenerate integrator.
inte * nit
The non-degenerate integrator.
virtual void pair_mu(boson &b, double temper)
Calculate properties with antiparticles as function of chemical potential.
boson_rel()
Create a boson with mass m and degeneracy g.
virtual void nu_from_n(boson &b, double temper)
Calculate effective chemical potential from density.
double density_fun(double u, boson &b, double T)
Non-degenerate density integral.
virtual void calc_density(boson &b, double temper)
Calculate properties as function of density.
virtual void pair_density(boson &b, double temper)
Calculate properties with antiparticles as function of density.
void set_inte(inte<> &l_nit, inte<> &l_dit)
Set degenerate and nondegenerate integrators.
virtual const char * type()
Return string denoting type ("boson_rel")
double deg_density_fun(double u, boson &b, double T)
Degenerate density integral.
void set_density_root(root<> &rp)
Set the solver for use in calculating the chemical potential from the density.
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).