#include <rel_boson.h>
Definition at line 46 of file rel_boson.h.
Public Member Functions | |
rel_boson (double m=0.0, double g=0.0) | |
Create a boson with mass m and degeneracy g . | |
virtual int | calc_mu (const double temper) |
Calculate properties as function of chemical potential. | |
virtual int | calc_density (const double temper) |
Calculate properties as function of density. | |
virtual int | pair_mu (const double temper) |
Calculate properties with antiparticles as function of chemical potential. | |
virtual int | nu_from_n (const double temper) |
Calculate effective chemical potential from density. | |
int | set_inte (inte &l_nit, inte &l_dit) |
Set inte object. | |
int | set_density_root (root &rp) |
Set the solver for use in calculating the chemical potential from the density. | |
int | set_inte_mem (inte_mem &nim, inte_mem &dim) |
Set integrator memory. | |
int | set_density_root_mem (root_mem &rm) |
Set solver memory for calc_density(). | |
virtual const char * | type () |
Return string denoting type ("rel_boson"). | |
Data Fields | |
int | mroot_err |
The error value from mroot. | |
int | inte_err |
The error value from inte. | |
gsl_mroot_hybrids | def_density_root |
The default solver for calc_density(). | |
gsl_inte_qagiu | def_nit |
Default nondegenerate integrator. | |
gsl_inte_qag | def_dit |
Default degenerate integrator. |