29 #ifndef __EOS_FITTING_H_ 30 #define __EOS_FITTING_H_ 104 Eos_fitting(
const char* name_i,
const char* data,
const char* path) ;
137 virtual void sauve(FILE *)
const ;
267 virtual ostream&
operator>>(ostream &)
const ;
339 virtual ostream&
operator>>(ostream &)
const ;
411 virtual ostream&
operator>>(ostream &)
const ;
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
Fitted equation of state of AkmalPR.
virtual double csound_square_ent_p(double, const Param *) const
Computes the sound speed squared from the enthapy with extra parameters (virtual function implemente...
virtual double csound_square_ent_p(double, const Param *) const
Computes the sound speed squared from the enthapy with extra parameters (virtual function implemente...
Fitted equation of state of SLy4.
virtual bool operator==(const Eos &) const
Comparison operator (egality)
virtual bool operator==(const Eos &) const
Comparison operator (egality)
virtual bool operator==(const Eos &) const
Comparison operator (egality)
virtual double ener_ent_p(double ent, const Param *par=0x0) const
Computes the total energy density from the log-enthalpy.
Eos_fitting(const char *name_i, const char *data, const char *path)
Standard constructor.
virtual ~Eos_fit_FPS()
Destructor.
Equation of state base class.
virtual ostream & operator>>(ostream &) const
Operator >>
Fitted equation of state of FPS.
Eos_fit_FPS(const char *path)
Standard constructor.
virtual ostream & operator>>(ostream &) const
Operator >>
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual ~Eos_fit_SLy4()
Destructor.
virtual ~Eos_fit_AkmalPR()
Destructor.
virtual void sauve(FILE *) const
Save in a file.
static Eos * eos_from_file(FILE *)
Construction of an EOS from a binary file.
virtual double press_ent_p(double ent, const Param *par=0x0) const
Computes the pressure from the log-enthalpy.
double * pp
Array of the coefficients of the fitting data.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual double der_ener_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 nbar_ent_p(double ent, const Param *par=0x0) const
Computes the baryon density from the log-enthalpy.
void read_coef()
Reading coefficients of the fitting equation for the energy density, the pressure, and the enthalpy.
virtual double der_nbar_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
Eos_fit_SLy4(const char *path)
Standard constructor.
virtual double csound_square_ent_p(double, const Param *) const
Computes the sound speed squared from the enthapy with extra parameters (virtual function implemente...
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
char dataname[160]
Name of the file containing the fitting data.
void c_est_pas_fait(const char *)
Helpful function to say something is not implemented yet.
virtual ostream & operator>>(ostream &) const
Operator >>
Eos_fit_AkmalPR(const char *path)
Standard constructor.
virtual double csound_square_ent_p(double, const Param *) const
Computes the sound speed squared from the enthapy with extra parameters (virtual function implemente...
virtual ~Eos_fitting()
Destructor.
virtual double der_press_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
Base class for the analytically fitted equation of state.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.