28 #ifndef __EOS_COMPOSE_H_ 29 #define __EOS_COMPOSE_H_ 164 virtual ostream&
operator>>(ostream &)
const ;
280 virtual ostream&
operator>>(ostream &)
const ;
virtual bool operator==(const Eos &) const
Comparison operator (egality)
Equation of state base class.
Eos_CompOSE(const string &files_path)
Constructor from CompOSE data.
static Eos * eos_from_file(FILE *)
Construction of an EOS from a binary file.
Equation of state for the CompOSE database with a consistent computation of the log-enthalpy (derived...
Base class for tabulated equations of state.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual ostream & operator>>(ostream &) const
Operator >>
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
virtual double press_ent_p(double ent, const Param *par=0x0) const
Computes the pressure from the log-enthalpy.
virtual ~Eos_CompOSE()
Destructor.
virtual double ener_ent_p(double ent, const Param *par=0x0) const
Computes the total energy density from the log-enthalpy.
virtual double nbar_ent_p(double ent, const Param *par=0x0) const
Computes the baryon density from the log-enthalpy.
Equation of state for the CompOSE database.