#include <fermion.h>
This is a base class for the computation of fermionic statistics at zero temperature. The more general case of finite temperature is taken care of by fermion_T objects. The primary functions are calc_mu_zerot() and calc_density_zerot() which compute all the thermodynamic quantities as a function of the chemical potential, or the density, respectively.
This class also adds two member data variables, kf and del, for the Fermi momentum and the gap.
Definition at line 63 of file fermion.h.
Public Member Functions | |
fermion (double mass=0, double dof=0) | |
Create a fermion with mass mass and degeneracy dof . | |
virtual const char * | type () |
Return string denoting type ("fermion"). | |
Zero-temperature fermions | |
int | kf_from_density () |
Calculate the Fermi momentum from the density. | |
int | energy_density_zerot () |
Energy density at T=0 from kf and ms. | |
int | pressure_zerot () |
Pressure at T=0 from kf and ms. | |
virtual int | calc_mu_zerot () |
Zero temperature fermions from nu and ms. | |
virtual int | calc_density_zerot () |
Zero temperature fermions from n and ms. | |
Data Fields | |
double | kf |
Fermi momentum. | |
double | del |
Gap. |
virtual int calc_density_zerot | ( | ) | [virtual] |
Zero temperature fermions from n and ms.
This function always returns gsl_success
.
Reimplemented in nonrel_fermion, and nonrel_fermion_zerot.
virtual int calc_mu_zerot | ( | ) | [virtual] |
Zero temperature fermions from nu and ms.
This function always returns gsl_success
.
Reimplemented in nonrel_fermion, and nonrel_fermion_zerot.
int kf_from_density | ( | ) |
Calculate the Fermi momentum from the density.
Uses the relation
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page