Class eos_quark_bag (o2scl)¶
-
class
o2scl
::
eos_quark_bag
: public o2scl::eos_quark¶ Simple bag model.
An equation of state with \( P=-B+P_{u,FG}+P_{d,FG}+P_{s,FG} \) where \( P_{i,FG} \) is the Fermi gas contribution from particle \( i \) and \( B \) 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.
Public Functions
-
eos_quark_bag
()¶
-
~eos_quark_bag
()¶
-
int
calc_p
(quark &u, quark &d, quark &s, thermo &th)¶ Calculate equation of state as a function of chemical potentials.
-
int
calc_e
(quark &u, quark &d, quark &s, thermo &th)¶ Calculate equation of state as a function of density.
-
int
calc_temp_p
(quark &u, quark &d, quark &s, double temper, thermo &th)¶ Calculate equation of state as a function of the chemical potentials.
This function returns zero (success) unless the call to quark::pair_mu() fails.
-
int
calc_temp_e
(quark &u, quark &d, quark &s, double temper, thermo &th)¶ Calculate equation of state as a function of the densities.
This function returns zero (success) unless the call to quark::pair_density() fails.
-
const char *
type
()¶ Return string denoting type (“eos_quark_bag”)
Public Members
-
double
bag_constant
¶ The bag constant in \( fm^{-4}\) (default \(200/(\hbar c) \)).
-