Class eos_had_temp_pres_base (o2scl)

O2scl : Class List

class eos_had_temp_pres_base : public o2scl::eos_had_temp_base

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

This class provides automatic computation of calc_e() and calc_temp_e() assuming that calc_p() and calc_temp_p() are specified in the child class.

Subclassed by o2scl::eos_crust_virial, o2scl::eos_had_rmf

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_temp_p(fermion &n, fermion &p, double T, thermo &th) = 0

Equation of state as a function of the chemical potentials at finite temperature.

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

Equation of state as a function of density.

virtual int calc_temp_e(fermion &n, fermion &p, double T, thermo &th)

Equation of state as a function of densities at finite temperature.