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

Quark class. More...

#include <quark.h>

Inheritance diagram for o2scl::quark:
o2scl::fermion o2scl::part

Public Member Functions

 quark (double m=0.0, double g=0.0)
 Create a boson with mass m and degeneracy g.
virtual const char * type ()
 Return string denoting type ("quark")
- Public Member Functions inherited from o2scl::fermion
 fermion (double mass=0, double dof=0)
 Create a fermion with mass mass and degeneracy dof.
 fermion (const fermion &f)
 Copy constructor.
fermionoperator= (const fermion &f)
 Copy construction with operator=()
- Public Member Functions inherited from o2scl::part
 part (const part &p)
 Copy constructor.
partoperator= (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 B
 Contribution to the bag constant.
double qq
 Quark condensate.
- Public Attributes inherited from o2scl::fermion
double kf
 Fermi momentum.
double del
- Public Attributes inherited from o2scl::part
double g
 Degeneracy (e.g. spin and color if applicable)
double m
double n
 Number density.
double ed
 Energy density.
double pr
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)

Detailed Description

Definition at line 47 of file quark.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).