Particles and Nuclei Sub-Library: Version 0.910
fermion_zerot Class Reference

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_eval_thermo 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. More...

#include <fermion.h>

Inheritance diagram for fermion_zerot:
fermion_eval_thermo eff_fermion nonrel_fermion rel_fermion

Detailed Description

Idea for Future:
Use hypot() and other more accurate functions for the analytic expressions for the zero temperature integrals. [Progress has been made, but there are probably other functions which may break down for small but finite masses and temperatures]

Definition at line 83 of file fermion.h.

Public Member Functions

Zero-temperature fermions
void kf_from_density (fermion &f)
 Calculate the Fermi momentum from the density.
void energy_density_zerot (fermion &f)
 Energy density at T=0 from fermion::kf and part::ms.
void pressure_zerot (fermion &f)
 Pressure at T=0 from fermion::kf and part::ms.
virtual void calc_mu_zerot (fermion &f)
 Zero temperature fermions from part::nu and part::ms.
virtual void calc_density_zerot (fermion &f)
 Zero temperature fermions from part::n and part::ms.

Member Function Documentation

void fermion_zerot::kf_from_density ( fermion f)

Uses the relation $ k_F = ( 6 \pi^2 n /g )^{1/3} $

void fermion_zerot::energy_density_zerot ( fermion f)

Calculates the integral

\[ \varepsilon = \frac{g}{2 \pi^2} \int_0^{k_F} k^2 \sqrt{k^2+m^{* 2}} d k \]

void fermion_zerot::pressure_zerot ( fermion f)

Calculates the integral

\[ P=\frac{g}{6 \pi^2} \int_0^{k_F} \frac{k^4}{\sqrt{k^2+m^{* 2}}} d k \]

virtual void fermion_zerot::calc_mu_zerot ( fermion f) [virtual]

This function always returns gsl_success.

Reimplemented in nonrel_fermion.

virtual void fermion_zerot::calc_density_zerot ( fermion f) [virtual]

This function always returns gsl_success.

Reimplemented in nonrel_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.