Public Member Functions | Public Attributes | List of all members
o2scl::boson Class Reference

Boson class. More...

#include <boson.h>

Inheritance diagram for o2scl::boson:
o2scl::part_tl< fp_t >

Detailed Description

Definition at line 46 of file boson.h.

Public Member Functions

 boson (double mass=0.0, double dof=0.0)
 Create a boson with mass mass and degeneracy dof.
 
virtual void massless_calc (double temper)
 Calculate properties of massless bosons. More...
 
virtual const char * type ()
 Return string denoting type ("boson")
 
- Public Member Functions inherited from o2scl::part_tl< fp_t >
 part_tl (const part_tl &p)
 Copy constructor.
 
part_tloperator= (const part_tl &p)
 Copy construction with operator=()
 
 part_tl (fp_t mass=0.0, fp_t dof=0.0)
 Make a particle of mass mass and degeneracy dof.
 
virtual void init (fp_t mass, fp_t dof)
 Set the mass mass and degeneracy dof.
 
virtual void anti (part_tl &ax)
 Make ap an anti-particle with the same mass and degeneracy. More...
 

Public Attributes

double co
 The condensate. More...
 
- Public Attributes inherited from o2scl::part_tl< fp_t >
fp_t g
 Degeneracy (e.g. spin and color if applicable)
 
fp_t m
 Mass.
 
fp_t n
 Number density.
 
fp_t ed
 Energy density.
 
fp_t pr
 Pressure.
 
fp_t mu
 Chemical potential.
 
fp_t en
 Entropy density.
 
fp_t ms
 Effective mass (Dirac unless otherwise specified)
 
fp_t nu
 Effective chemical potential.
 
bool inc_rest_mass
 If true, include the mass in the energy density and chemical potential (default true)
 
bool non_interacting
 True if the particle is non-interacting (default true)
 

Member Function Documentation

◆ massless_calc()

virtual void o2scl::boson::massless_calc ( double  temper)
virtual

The expressions used are exact. The chemical potentials are ignored.

Member Data Documentation

◆ co

double o2scl::boson::co

The condensate variable is provided principally for user storage and is mostly ignored by O2scl_part classes.

Definition at line 58 of file boson.h.


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

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