Class eos_quark_bag (o2scl)¶
-
class 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()¶
-
inline virtual ~eos_quark_bag()¶
Desc.
-
virtual 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.
-
virtual 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.
-
inline virtual 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) \)).
-
eos_quark_bag()¶