Class eos_had_pres_base (o2scl)

O2scl : Class List

class eos_had_pres_base : public o2scl::eos_had_base

A hadronic EOS based on a function of the chemical potentials [abstract base].

Public Functions

virtual int calc_p(fermion &n, fermion &p, thermo &th) = 0

Equation of state as a function of the chemical potentials.

virtual int calc_e(fermion &n, fermion &p, thermo &th)

Equation of state as a function of density.