35 #ifndef __EOS_TABUL_H_ 36 #define __EOS_TABUL_H_ 235 Eos_tabul(
const char* name_i,
const char* table,
const char* path) ;
243 Eos_tabul(
const char* name_i,
const char* file_name) ;
269 Eos_tabul(ifstream& ist,
const char* table) ;
294 const string& get_tablename()
const {
return tablename ; } ;
296 const Tbl& get_logh()
const {
return *
logh ; } ;
315 virtual void sauve(FILE* )
const ;
486 virtual ostream&
operator>>(ostream &)
const ;
564 virtual ostream&
operator>>(ostream &)
const ;
641 virtual ostream&
operator>>(ostream &)
const ;
727 virtual ostream&
operator>>(ostream &)
const ;
809 virtual ostream&
operator>>(ostream &)
const ;
887 virtual ostream&
operator>>(ostream &)
const ;
967 virtual ostream&
operator>>(ostream &)
const ;
virtual ostream & operator>>(ostream &) const
Operator >>
Equation of state AkmalPR (Akmal, Pandharipande & Ravenhall 1998).
Eos_AkmalPR(const char *path)
Standard constructor.
Eos_BalbN1H1(const char *path)
Standard constructor.
double get_hmin() const
Returns minimal value of log-enthalpy in the table.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual bool operator==(const Eos &) const
Comparison operator (egality)
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
virtual bool operator==(const Eos &) const
Comparison operator (egality)
Equation of state base class.
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
virtual ostream & operator>>(ostream &) const
Operator >>
virtual ~Eos_GlendNH3()
Destructor.
double hmin
Lower boundary of the enthalpy interval.
virtual ~Eos_BBB2()
Destructor.
Eos_BPAL12(const char *path)
Standard constructor.
Eos_SLy4(const char *path)
Standard constructor.
virtual ~Eos_FPS()
Destructor.
virtual ~Eos_BalbN1H1()
Destructor.
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.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual bool operator==(const Eos &) const
Comparison operator (egality)
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
static Eos * eos_from_file(FILE *)
Construction of an EOS from a binary file.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual bool operator==(const Eos &) const
Comparison operator (egality)
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
virtual ostream & operator>>(ostream &) const
Operator >>
virtual bool operator==(const Eos &) const
Comparison operator (egality)
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.
virtual bool operator==(const Eos &) const
Comparison operator (egality)
Eos_GlendNH3(const char *path)
Standard constructor.
virtual ~Eos_BPAL12()
Destructor.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
Base class for tabulated equations of state.
Eos_FPS(const char *path)
Standard constructor.
Equation of state BPAL12 (Bombaci et al 1995).
virtual ~Eos_AkmalPR()
Destructor.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual 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.
double get_hmax() const
Returns maximal value of log-enthalpy in the table.
virtual ostream & operator>>(ostream &) const
Operator >>
virtual double csound_square_ent_p(double, const Param *) const
Computes the sound speed squared from the enthapy with extra parameters (virtual function implemente...
Equation of state GlendNH3 (Glendenning 1985, case 3 ).
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
Equation of state BalbN1H1 (Balberg 2000).
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
Equation of state FPS (Friedman-Pandharipande + Skyrme).
virtual ostream & operator>>(ostream &) const
Operator >>
virtual bool operator==(const Eos &) const
Comparison operator (egality)
virtual double der_press_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
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.
Equation of state BBB2 (Baldo, Bombaci & Burgio 1997).
Equation of state SLy4 (Douchin & Haensel 2001).
virtual ostream & operator>>(ostream &) const
Operator >>
virtual double ener_ent_p(double ent, const Param *par=0x0) const
Computes the total energy density from the log-enthalpy.
Eos_BBB2(const char *path)
Standard constructor.
virtual double nbar_ent_p(double ent, const Param *par=0x0) const
Computes the baryon density from the log-enthalpy.
virtual ostream & operator>>(ostream &) const
Operator >>
virtual ~Eos_SLy4()
Destructor.