#include <bag_eos.h>
An equation of state with where
is the Fermi gas contribution from particle
and
is a density- and temperature-independent bag constant.
The finite temperature functions run the zero temperature code if the temperature is less than or equal to 0.
Definition at line 47 of file bag_eos.h.
Public Member Functions | |
virtual int | calc_p (quark &u, quark &d, quark &s, thermo &th) |
Calculate equation of state as a function of chemical potentials. | |
virtual int | calc_e (quark &u, quark &d, quark &s, thermo &th) |
Calculate equation of state as a function of density. | |
virtual int | calc_temp_p (quark &u, quark &d, quark &s, const double temper, thermo &th) |
Calculate equation of state as a function of the chemical potentials. | |
virtual int | calc_temp_e (quark &u, quark &d, quark &s, const double temper, thermo &th) |
Calculate equation of state as a function of the densities. | |
virtual const char * | type () |
Return string denoting type ("bag_eos"). | |
Data Fields | |
double | bag_constant |
The bag constant in ![]() ![]() |
virtual int calc_temp_p | ( | quark & | u, | |
quark & | d, | |||
quark & | s, | |||
const double | temper, | |||
thermo & | th | |||
) | [virtual] |
Calculate equation of state as a function of the chemical potentials.
This function returns zero (success) unless the call to quark::pair_mu() fails.
Reimplemented from quark_eos.
virtual int calc_temp_e | ( | quark & | u, | |
quark & | d, | |||
quark & | s, | |||
const double | temper, | |||
thermo & | th | |||
) | [virtual] |
Calculate equation of state as a function of the densities.
This function returns zero (success) unless the call to quark::pair_density() fails.
Reimplemented from quark_eos.
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