rel_boson Class Reference

Equation of state for a relativistic boson. More...

#include <rel_boson.h>

Inheritance diagram for rel_boson:

boson part

Detailed Description

Todo:
Testing not completely finished.

Definition at line 48 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 pair_density (const double temper)
 Calculate properties with antiparticles as function of density.
virtual int nu_from_n (const double temper)
 Calculate effective chemical potential from density.
int set_inte (inte< const double, funct< const double > > &l_nit, inte< const double, funct< const double > > &l_dit)
 Set inte object.
int set_density_root (root< const double, funct< const double > > &rp)
 Set the solver for use in calculating the chemical potential from the 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.
cern_mroot_root< const double,
funct< const double > > 
def_density_root
 The default solver for calc_density().
gsl_inte_qagiu< const double,
funct< const double > > 
def_nit
 Default nondegenerate integrator.
gsl_inte_qag< const double,
funct< const double > > 
def_dit
 Default degenerate integrator.

The documentation for this class was generated from the following file:

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page