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 ;
Fitted equation of state of AkmalPR.
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
virtual ~Eos_fit_AkmalPR()
Destructor.
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 bool operator==(const Eos &) const
Comparison operator (egality)
Fitted equation of state of FPS.
virtual ostream & operator>>(ostream &) const
Operator >>
virtual ~Eos_fit_FPS()
Destructor.
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 bool operator==(const Eos &) const
Comparison operator (egality)
Fitted equation of state of SLy4.
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 >>
Base class for the analytically fitted equation of state.
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.
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.
Equation of state base class.
static Eos * eos_from_file(FILE *)
Construction of an EOS from a binary file.