Class eos_base (o2scl)¶
-
class eos_base¶
Equation of state base class.
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.
-
virtual const thermo &get_thermo()¶
Get 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 nstar_cold because it is a generic interface which works for non-hadronic EOSs.
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¶