#include <fermion.h>
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] |
This function always returns gsl_success
.
Reimplemented in nonrel_fermion, and nonrel_fermion_zerot.
virtual int calc_mu_zerot | ( | ) | [virtual] |
This function always returns gsl_success
.
Reimplemented in nonrel_fermion, and nonrel_fermion_zerot.
int energy_density_zerot | ( | ) |
Calculates the integral
int kf_from_density | ( | ) |
Uses the relation
int pressure_zerot | ( | ) |
Calculates the integral
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