Class eos_base (o2scl)

O2scl_eos : Class List

class o2scl::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”)

virtual int beta_eq_T0(ubvector &nB_grid, ubvector &guess, fermion &e, bool include_muons, fermion &mu, fermion_rel &frel, std::shared_ptr<table_units<>> results)

Compute the EOS in beta-equilibrium at zero temperature.

Public Members

thermo def_thermo

The default thermo object.

Protected Attributes

thermo *eos_thermo

A pointer to the thermo object.