Class eos_base (o2scl)¶
-
class eos_base¶
Equation of state base class [abstract virtual base].
A base class for an equation of state
Subclassed by o2scl::eos_crust, o2scl::eos_had_base, o2scl::eos_quark
Public Types
-
typedef boost::numeric::ublas::vector<double> ubvector¶
Public Functions
-
eos_base()¶
-
inline virtual ~eos_base()¶
-
virtual void set_thermo(thermo &th)¶
Set class thermo object.
-
inline virtual const char *type()¶
Return string denoting type (“eos_base”)
Compute the EOS in beta-equilibrium at zero temperature.
This solves the function \ref solve_beta_eq_T0() . This function is different from \ref o2scl::nstar_cold because it is a generic interface which works for non-hadronic EOSs.
-
virtual int calc_temp_f_gen(double nB, double nQ, double nS, double T, thermo &th) = 0¶
Equation of state as a function of baryon, charge, and strangeness density at finite temperature.
-
inline eos_base &operator=(const eos_base &f)¶
Copy construction with operator=()
Public Members
-
thermo def_thermo¶
The default thermo object.
Protected Attributes
-
thermo *eos_thermo¶
A pointer to the thermo object.
-
typedef boost::numeric::ublas::vector<double> ubvector¶