Boson class. More...
#include <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") | |
![]() | |
part (const part &p) | |
Copy constructor. | |
part & | operator= (const part &p) |
Copy construction with operator=() | |
part (double mass=0.0, double dof=0.0) | |
Make a particle of mass mass and degeneracy dof . | |
virtual void | init (double mass, double dof) |
Set the mass mass and degeneracy dof . | |
virtual void | anti (part &ap) |
Make ap an anti-particle with the same mass and degeneracy. More... | |
Public Attributes | |
double | co |
The condensate. More... | |
![]() | |
double | g |
Degeneracy (e.g. spin and color if applicable) | |
double | m |
Mass. | |
double | n |
Number density. | |
double | ed |
Energy density. | |
double | pr |
Pressure. | |
double | mu |
Chemical potential. | |
double | en |
Entropy density. | |
double | ms |
Effective mass (Dirac unless otherwise specified) | |
double | 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) | |
|
virtual |
The expressions used are exact. The chemical potentials are ignored.
double o2scl::boson::co |
The condensate variable is provided principally for user storage and is mostly ignored by O2scl_part classes.
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).