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 ;
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
virtual bool operator!=(const Eos &) const
Comparison operator (difference).
virtual ~Eos_fit_AkmalPR()
Destructor.
virtual ostream & operator>>(ostream &) const
Operator >>.
Eos_fit_AkmalPR(const char *path)
Standard constructor.
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 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...
virtual ostream & operator>>(ostream &) const
Operator >>.
virtual ~Eos_fit_FPS()
Destructor.
virtual bool operator!=(const Eos &) const
Comparison operator (difference).
Eos_fit_FPS(const char *path)
Standard constructor.
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).
Eos_fit_SLy4(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 (egality).
virtual bool operator!=(const Eos &) const
Comparison operator (difference).
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...
virtual double der_ener_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
virtual ~Eos_fitting()
Destructor.
virtual double der_nbar_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
virtual double csound_square_ent_p(double, const Param *) const
Computes the sound speed squared from the enthapy with extra parameters (virtual function implemente...
void read_coef()
Reading coefficients of the fitting equation for the energy density, the pressure,...
char dataname[160]
Name of the file containing the fitting data.
virtual double der_press_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
double * pp
Array of the coefficients of the fitting data.
virtual double nbar_ent_p(double ent, const Param *par=0x0) const
Computes the baryon density from the log-enthalpy.
virtual double ener_ent_p(double ent, const Param *par=0x0) const
Computes the total energy density from the log-enthalpy.
virtual double press_ent_p(double ent, const Param *par=0x0) const
Computes the pressure from the log-enthalpy.
virtual void sauve(FILE *) const
Save in a file.
Eos_fitting(const char *name_i, const char *data, const char *path)
Standard constructor.
Equation of state base class.
static Eos * eos_from_file(FILE *)
Construction of an EOS from a binary file.
Eos()
Standard constructor.
void c_est_pas_fait(const char *)
Helpful function to say something is not implemented yet.