29 #ifndef __EOS_FITTING_H_
30 #define __EOS_FITTING_H_
101 Eos_fitting(
const char* name_i,
const char* data,
const char* path) ;
134 virtual void sauve(FILE *)
const ;
260 virtual ostream&
operator>>(ostream &)
const ;
328 virtual ostream&
operator>>(ostream &)
const ;
396 virtual ostream&
operator>>(ostream &)
const ;
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual void sauve(FILE *) const
Save in a file.
Eos_fit_SLy4(const char *path)
Standard constructor.
virtual double der_press_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
virtual ~Eos_fit_AkmalPR()
Destructor.
virtual bool operator==(const Eos &) const
Comparison operator (egality)
static Eos * eos_from_file(FILE *)
Construction of an EOS from a binary file.
virtual ostream & operator>>(ostream &) const
Operator >>
void read_coef()
Reading coefficients of the fitting equation for the energy density, the pressure,...
Equation of state base class.
virtual double der_nbar_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
virtual ~Eos_fit_FPS()
Destructor.
virtual double nbar_ent_p(double ent, const Param *par=0x0) const
Computes the baryon density from the log-enthalpy.
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.
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
Fitted equation of state of SLy4.
virtual bool operator==(const Eos &) const
Comparison operator (egality)
char dataname[160]
Name of the file containing the fitting data.
virtual ~Eos_fitting()
Destructor.
Eos_fit_FPS(const char *path)
Standard constructor.
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 int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual ~Eos_fit_SLy4()
Destructor.
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
double * pp
Array of the coefficients of the fitting data.
Fitted equation of state of FPS.
Base class for the analytically fitted equation of state.
Fitted equation of state of AkmalPR.
virtual ostream & operator>>(ostream &) const
Operator >>
virtual double der_ener_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
Eos_fit_AkmalPR(const char *path)
Standard constructor.
virtual ostream & operator>>(ostream &) const
Operator >>
virtual double press_ent_p(double ent, const Param *par=0x0) const
Computes the pressure from the log-enthalpy.