Particles and Nuclei Sub-Library: Version 0.909
Public Member Functions
eff_quark Class Reference

Quark class from fitting method. More...

#include <eff_quark.h>

Inheritance diagram for eff_quark:
eff_fermion quark fermion_T fermion_T fermion fermion part part

Detailed Description

Todo:
Add testing.

Definition at line 44 of file eff_quark.h.

Public Member Functions

 eff_quark (double m=0.0, double g=0.0)
 Create a quark with mass m and degeneracy g.
virtual int calc_mu (const double temper)
 Calculate thermodynamic properties as function of chemical potential.
virtual int calc_density (const double temper)
 Calculate thermodynamic properties as function of density.
virtual int pair_mu (const double temper)
 Calculate thermodynamic properties with antiparticles as function of chemical potential.
virtual int pair_density (const double temper)
 Calculate thermodynamic properties with antiparticles as function of density.
virtual const char * type ()
 Return string denoting type ("eff_quark")

Member Function Documentation

virtual int eff_quark::calc_mu ( const double  temper) [virtual]

If the quantity $ (\mu-m)/T $ (or $ (\nu-m^{*})/T $ in the case of interacting particles) is less than -200, then this quietly sets the density, the scalar density, the energy density, the pressure and the entropy to zero and exits.

Todo:
Should see if the function actually works if $ (\mu-m)/T = -199 $ .

Reimplemented from eff_fermion.

virtual int eff_quark::calc_density ( const double  temper) [virtual]
Warning:
This function needs a guess for the chemical potential, and will fail if that guess is not sufficiently accurate.

Reimplemented from eff_fermion.

virtual int eff_quark::pair_mu ( const double  temper) [virtual]
Warning:
This function needs a guess for the chemical potential, and will fail if that guess is not sufficiently accurate.

Reimplemented from eff_fermion.


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.