Particles and Nuclei Sub-Library: Version 0.910
Public Member Functions | Data Fields
rel_boson Class Reference

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

#include <rel_boson.h>


Detailed Description

Todo:
Testing not completely finished.

Definition at line 48 of file rel_boson.h.

Public Member Functions

 rel_boson ()
 Create a boson with mass m and degeneracy g.
virtual void calc_mu (boson &b, double temper)
 Calculate properties as function of chemical potential.
virtual void calc_density (boson &b, double temper)
 Calculate properties as function of density.
virtual void pair_mu (boson &b, double temper)
 Calculate properties with antiparticles as function of chemical potential.
virtual void pair_density (boson &b, double temper)
 Calculate properties with antiparticles as function of density.
virtual void nu_from_n (boson &b, double temper)
 Calculate effective chemical potential from density.
void set_inte (inte< funct > &l_nit, inte< funct > &l_dit)
 Set inte object.
void set_density_root (root< funct > &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< functdef_density_root
 The default solver for calc_density().
gsl_inte_qagiu< functdef_nit
 Default nondegenerate integrator.
gsl_inte_qag< functdef_dit
 Default degenerate integrator.

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Friends

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.