35 #ifndef __EOS_TABUL_H_ 36 #define __EOS_TABUL_H_ 196 Eos_tabul(
const char* name_i,
const char* table,
const char* path) ;
204 Eos_tabul(
const char* name_i,
const char* file_name) ;
230 Eos_tabul(ifstream& ist,
const char* table) ;
266 virtual void sauve(FILE* )
const ;
426 virtual ostream&
operator>>(ostream &)
const ;
505 virtual ostream&
operator>>(ostream &)
const ;
583 virtual ostream&
operator>>(ostream &)
const ;
670 virtual ostream&
operator>>(ostream &)
const ;
753 virtual ostream&
operator>>(ostream &)
const ;
832 virtual ostream&
operator>>(ostream &)
const ;
913 virtual ostream&
operator>>(ostream &)
const ;
virtual bool operator==(const Eos &) const =0
Comparison operator (egality)
Equation of state AkmalPR (Akmal, Pandharipande & Ravenhall 1998).
Equation of state base class.
virtual int identify() const =0
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual bool operator!=(const Eos &) const =0
Comparison operator (difference)
double hmin
Lower boundary of the enthalpy interval.
virtual ~Eos_tabul()
Destructor.
virtual double der_ener_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
string tablename
Name of the file containing the tabulated data.
string authors
Authors - reference for the table.
virtual void sauve(FILE *) const
Save in a file.
virtual double der_press_nbar_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
static Eos * eos_from_file(FILE *)
Construction of an EOS from a binary file.
double hmax
Upper boundary of the enthalpy interval.
virtual double der_nbar_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
Base class for tabulated equations of state.
Equation of state BPAL12 (Bombaci et al 1995).
void read_table()
Reads the file containing the table and initializes in the arrays logh , logp and dlpsdlh ...
Eos_tabul(const char *name_i, const char *table, const char *path)
Standard constructor.
Equation of state GlendNH3 (Glendenning 1985, case 3 ).
Equation of state BalbN1H1 (Balberg 2000).
Equation of state FPS (Friedman-Pandharipande + Skyrme).
virtual ostream & operator>>(ostream &) const =0
Operator >>
virtual double der_press_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
virtual double press_ent_p(double ent, const Param *par=0x0) const
Computes the pressure from the log-enthalpy.
Equation of state BBB2 (Baldo, Bombaci & Burgio 1997).
Equation of state SLy4 (Douchin & Haensel 2001).
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.