188 #include "utilitaires.h" 224 explicit Eos(
const char* name_i) ;
314 virtual void sauve(FILE* )
const ;
320 virtual ostream&
operator>>(ostream &)
const = 0 ;
343 void calcule(
const Cmp& thermo,
int nzet,
int l_min,
344 double (
Eos::*fait)(
double,
const Param*)
const,
367 double (
Eos::*fait)(
double,
const Param*)
const,
383 virtual double nbar_ent_p(
double ent,
const Param* par=0x0)
const = 0 ;
442 virtual double ener_ent_p(
double ent,
const Param* par=0x0)
const = 0 ;
761 ostream& operator<<(ostream& ,
const Eos& ) ;
864 Eos_poly(
double gamma,
double kappa) ;
878 Eos_poly(
double gamma,
double kappa,
double mass) ;
896 Eos_poly(
double gamma,
double kappa,
double mass,
double mu_zero) ;
976 virtual void sauve(FILE* )
const ;
979 virtual ostream&
operator>>(ostream &)
const ;
1186 virtual void sauve(FILE* )
const ;
1189 virtual ostream&
operator>>(ostream &)
const ;
1285 double gamma_low, kappa_low, n_lim1, n_lim2, ent_lim1, ent_lim2, m_n, Lambda, ddd, Kappa_GPP, Gamma_GPP, Lambda_GPP, ddd_GPP;
1354 virtual void sauve(FILE* )
const ;
1357 virtual ostream&
operator>>(ostream &)
const ;
1436 double get_ent_lim1()
const {
return ent_lim1 ;} ;
1437 double get_n_lim1()
const {
return n_lim1 ;} ;
1438 double get_ent_lim2()
const {
return ent_lim2 ;} ;
1439 double get_n_lim2()
const {
return n_lim2 ;} ;
1454 Tbl *gamma_high, *kappa_high, *Lambda_high, *a_high, *n_lim_high, *ent_lim_high;
1455 double gamma_low, kappa_low, n_lim, ent_lim;
1533 virtual void sauve(FILE* )
const ;
1536 virtual ostream&
operator>>(ostream &)
const ;
1615 double get_ent_lim()
const {
return ent_lim ;} ;
1616 Tbl* get_gamma_high()
const {
return gamma_high;} ;
1617 Tbl* get_kappa_high()
const {
return kappa_high;} ;
1618 Tbl* get_n_lim_high()
const {
return n_lim_high;} ;
1619 Tbl* get_ent_lim_high()
const {
return ent_lim_high;} ;
1620 Tbl* get_Lambda_high()
const {
return Lambda_high;} ;
1621 Tbl* get_a_high()
const {
return a_high;} ;
1728 virtual void sauve(FILE* )
const ;
1731 virtual ostream&
operator>>(ostream &)
const ;
1905 virtual void sauve(FILE* )
const ;
1908 virtual ostream&
operator>>(ostream &)
const ;
2069 Eos_strange(
double n0_b60_i,
double b60_i,
double ent0_i,
2070 double eps_fit_i,
double rho0_b60_i) ;
2155 virtual void sauve(FILE* )
const ;
2158 virtual ostream&
operator>>(ostream &)
const ;
2375 double eps_fit_i,
double rho0_b60_i,
2376 double ent_nd_i,
double rho_nd_i,
2480 virtual void sauve(FILE* )
const ;
2483 virtual ostream&
operator>>(ostream &)
const ;
2673 double get_m()
const ;
2688 virtual void sauve(FILE* )
const ;
2691 virtual ostream&
operator>>(ostream &)
const ;
2803 MEos(
int ndom_i,
const Eos** mono_eos_i) ;
2864 virtual void sauve(FILE* )
const ;
2867 virtual ostream&
operator>>(ostream &)
const ;
2961 #include "eos_tabul.h" 2962 #include "eos_compose.h" 2963 #include "eos_mag.h" virtual double ener_ent_p(double ent, const Param *par=0x0) const
Computes the total energy density from the log-enthalpy.
virtual bool operator==(const Eos &) const =0
Comparison operator (egality)
double eps_fit
Fitting parameter related to the square of sound velocity by .
virtual double nbar_ent_p(double ent, const Param *par=0x0) const
Computes the baryon density from the log-enthalpy.
double get_rho0_b60() const
Returns the energy density at zero pressure divided by .
virtual ostream & operator>>(ostream &) const
Operator >>
virtual bool operator==(const Eos &) const
Comparison operator (egality)
double get_n0_b60() const
Returns the baryon density at zero pressure divided by [unit: ].
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual double nbar_ent_p(double ent, const Param *par=0x0) const
Computes the baryon density from the specific enthalpy.
virtual double der_press_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
virtual ~Eos_incomp_newt()
Destructor.
virtual double ener_ent_p(double ent, const Param *par=0x0) const
Computes the total energy density from the specific enthalpy.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
int get_g_degen() const
Returns the degeneracy factor.
virtual double ener_ent_p(double ent, const Param *par=0x0) const
Computes the total energy density from the log-enthalpy.
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
virtual double der_nbar_ent_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 double der_press_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
double rho_nd_nucl
Energy density at neutron drip point, defining the boundary between crust and core [unit: rho_unit ]...
Cmp ener_ent(const Cmp &ent, int nzet, int l_min=0, Param *par=0x0) const
Computes the total energy density from the log-enthalpy and extra parameters.
virtual double der_press_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
void operator=(const Eos_poly_newt &)
Assignment to another Eos_poly_newt.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual double der_press_ent_p(double ent, const Param *par=0x0) const =0
Computes the logarithmic derivative from the log-enthalpy and extra parameters (virtual function imp...
virtual double press_ent_p(double ent, const Param *par=0x0) const
Computes the pressure from the specific enthalpy.
virtual double der_nbar_ent_p(double ent, const Param *par=0x0) const =0
Computes the logarithmic derivative from the log-enthalpy and extra parameters (virtual function imp...
Cmp der_nbar_ent(const Cmp &ent, int nzet, int l_min=0, Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy and extra parameters.
const char * get_name() const
Returns the EOS name.
virtual ostream & operator>>(ostream &) const
Operator >>
void operator=(const Eos_strange &)
Assignment to another Eos_strange.
double x_nd
Ratio of pressure to energy density at neutron drip point.
virtual double der_ener_ent_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 double der_ener_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
void operator=(const MEos &)
Assignment to another MEos.
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 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 ~Eos_Fermi()
Destructor.
MEos(int ndom_i, const Eos **mono_eos_i)
Standard constructor.
Equation of state base class.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
void operator=(const Piecewise_polytrope_1D &)
Assignment to another Piecewise_polytrope_1D.
virtual ~Eos_incomp()
Destructor.
int ndom
Number of domains.
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
virtual int identify() const =0
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual double der_nbar_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
Tensor field of valence 0 (or component of a tensorial field).
Scalar csound_square_ent(const Scalar &ent, int nzet, int l_min=0, Param *par=0x0) const
Computes the sound speed squared from the enthalpy with extra parameters.
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
virtual ~Eos_poly()
Destructor.
virtual double der_nbar_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the specific enthalpy.
virtual void sauve(FILE *) const
Save in a file.
virtual bool operator==(const Eos &) const
Comparison operator (egality)
virtual void sauve(FILE *) const
Save in a file.
double get_gam() const
Returns the adiabatic index for the crust model.
virtual double der_press_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the specific enthalpy.
virtual void sauve(FILE *) const
Save in a file.
virtual double der_nbar_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
void operator=(const Eos_Fermi &)
Assignment to another Eos_Fermi.
double ent_nd
Log-enthalpy at neutron drip point, defining the boundary between crust and core. ...
virtual double der_nbar_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
double rho0
Constant density .
virtual double nbar_ent_p(double ent, const Param *par=0x0) const
Computes the baryon density from the log-enthalpy.
double rho_nd
Energy density at neutron drip point, defining the boundary between crust and core [unit: ]...
virtual double nbar_ent_p(double ent, const Param *par=0x0) const
Computes the baryon density from the specific 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...
virtual double der_nbar_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
virtual ostream & operator>>(ostream &) const
Operator >>
double get_b60() const
Returns the bag constant [unit: ].
double ent_0
Enthalpy at zero pressure ( )
virtual double der_ener_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the specific enthalpy.
double ener_0
Energy density scale [unit: ], where ].
double rho0_b60
Energy density at zero pressure divided by .
virtual bool operator!=(const Eos &) const =0
Comparison operator (difference)
virtual double press_ent_p(double ent, const Param *par=0x0) const =0
Computes the pressure from the log-enthalpy and extra parameters (virtual function implemented in the...
virtual ostream & operator>>(ostream &) const
Operator >>
EOS with domain dependency.
double n0_b60
Baryon density at zero pressure divided by .
Piecewise_polytrope_1D(const Tbl &, const Tbl &, const Tbl &, const Tbl &, const Tbl &, const Tbl &, double, double, double)
Standard constructor.
double get_gam() const
Returns the adiabatic index (cf. Eq. (3))
virtual void sauve(FILE *) const
Save in a file.
virtual double der_ener_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the specific enthalpy.
Eos_strange_cr(double n0_b60_i, double b60_i, double ent0_i, double eps_fit_i, double rho0_b60_i, double ent_nd_i, double rho_nd_i, double gam_i)
Standard constructor.
void set_auxiliary()
Computes the auxiliary quantities n_0 , ener_0.
double kap
Pressure coefficient (cf.
virtual void sauve(FILE *) const
Save in a file.
Eos()
Standard constructor.
virtual double der_press_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
virtual double ener_ent_p(double ent, const Param *par=0x0) const =0
Computes the total energy density from the log-enthalpy and extra parameters (virtual function implem...
virtual double der_ener_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
double ncr_nd
Rescaled number density at neutron drip point.
double ent0
Log-enthalpy threshold for setting the energy density to a non zero value (should be negative)...
Cmp nbar_ent(const Cmp &ent, int nzet, int l_min=0, Param *par=0x0) const
Computes the baryon density field from the log-enthalpy field and extra parameters.
virtual void sauve(FILE *) const
Save in a file.
double get_b60() const
Returns the bag constant [unit: ].
Strange matter EOS (MIT Bag model).
virtual double der_press_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
virtual double press_ent_p(double ent, const Param *par=0x0) const
Computes the pressure from the log-enthalpy.
virtual ostream & operator>>(ostream &) const
Operator >>
Eos_strange(double n0_b60_i, double b60_i, double ent0_i, double eps_fit_i, double rho0_b60_i)
Standard constructor.
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
Degenerate ideal Fermi gas.
virtual ostream & operator>>(ostream &) const
Operator >>
double n0
Baryon density at zero pressure.
virtual double csound_square_ent_p(double, const Param *) const
Computes the sound speed squared from the enthapy with extra parameters (virtual function implemente...
double rho0
Energy density at zero pressure.
virtual double nbar_ent_p(double ent, const Param *par=0x0) const =0
Computes the baryon density from the log-enthalpy and extra parameters (virtual function implemented ...
double m_0
Individual particule mass (cf.
static Eos * eos_from_file(FILE *)
Construction of an EOS from a binary file.
void set_auxiliary()
Computes the auxiliary quantities gam1 , unsgam1 , gam1sgamkap from the values of gam and kap...
double get_kap() const
Returns the pressure coefficient (cf.
double get_m_0() const
Return the individual particule mass (cf.
virtual double press_ent_p(double ent, const Param *par=0x0) const
Computes the pressure from the log-enthalpy.
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 specific enthalpy.
double get_ent0() const
Returns the log-enthalpy threshold for setting the energy density to a non zero value (should be nega...
Pseudo_polytrope_1D(const Tbl &, double, double)
Standard constructor.
double p_0
Pressure scale [unit: ], where ].
void operator=(const Eos_poly &)
Assignment to another Eos_poly.
const Eos ** mono_eos
Array (upon the domains) containing the various EOS.
virtual ~Eos_strange_cr()
Destructor.
virtual double der_nbar_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
virtual double nbar_ent_p(double ent, const Param *par=0x0) const
Computes the baryon density from the log-enthalpy.
virtual double nbar_ent_p(double ent, const Param *par=0x0) const
Computes the baryon density from the log-enthalpy.
virtual double der_ener_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
virtual double press_ent_p(double ent, const Param *par=0x0) const
Computes the pressure from the specific enthalpy.
double delent
Enthalpy shift in quark phase.
Polytropic equation of state (relativistic case).
virtual double press_ent_p(double ent, const Param *par=0x0) const
Computes the pressure from the specific enthalpy.
double m_0
Individual particule mass [unit: eV/c2].
virtual void sauve(FILE *) const
Save in a file.
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 ent, const Param *par=0x0) const
Computes the sound speed squared from the enthapy with extra parameters (virtual function implemente...
virtual double csound_square_ent_p(double ent, const Param *par=0x0) const =0
Computes the sound speed squared from the enthapy with extra parameters (virtual function implemente...
virtual double der_nbar_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the specific enthalpy.
Eos_poly(double gamma, double kappa)
Standard constructor (sets both m_0 and mu_0 to 1).
void operator=(const Eos_strange_cr &)
Assignment to another Eos_strange.
double ent0
Log-enthalpy threshold for setting the energy density to a non zero value (should be negative)...
virtual bool operator==(const Eos &) const
Comparison operator (egality)
virtual bool operator==(const Eos &) const
Comparison operator (egality)
virtual double press_ent_p(double ent, const Param *par=0x0) const
Computes the pressure from the log-enthalpy.
double get_ent0() const
Returns the log-enthalpy threshold for setting the energy density to a non zero value (should be nega...
double rho0_b60
Energy density at zero pressure divided by .
double get_eps_fit() const
Returns the fitting parameter related to the square of sound velocity by .
double get_mu_0() const
Return the relativistic chemical potential at zero pressure [unit: , with ].
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
virtual double der_ener_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the specific enthalpy.
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.
virtual double ener_ent_p(double ent, const Param *par=0x0) const
Computes the total energy density from the log-enthalpy.
virtual double nbar_ent_p(double ent, const Param *par=0x0) const
Computes the baryon density 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...
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
double rho0
Energy density at zero pressure.
virtual double csound_square_ent_p(double, const Param *) const
Computes the sound speed squared from the enthapy with extra parameters (virtual function implemente...
bool constructed_from_file
Indicates wether the EOS has been constructed from a file.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual double der_nbar_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the specific enthalpy.
Polytropic equation of state (Newtonian case).
void operator=(const Eos_incomp_newt &)
Assignment to another Eos_incomp_newt.
void set_auxiliary()
Computes the auxiliary quantities n0 , rh0 , b34 and fach from the values of the other parameters...
virtual double ener_ent_p(double ent, const Param *par=0x0) const
Computes the total energy density from the specific enthalpy.
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
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.
double get_rho0_b60() const
Returns the energy density at zero pressure divided by .
double n0
Baryon density at zero pressure.
double gam
Adiabatic index (cf. Eq. (3))
virtual bool operator==(const Eos &) const
Comparison operator (egality)
void operator=(const Pseudo_polytrope_1D &)
Assignment to another Pseudo_polytrope_1D.
virtual ostream & operator>>(ostream &) const
Operator >>
double ent0
Log-enthalpy threshold for setting the energy density to a non zero value (should be negative)...
virtual double press_ent_p(double ent, const Param *par=0x0) const
Computes the pressure from the log-enthalpy.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual ostream & operator>>(ostream &) const
Operator >>
virtual double der_press_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the specific enthalpy.
double eps_fit
Fitting parameter related to the square of sound velocity by .
virtual double press_ent_p(double ent, const Param *par=0x0) const
Computes the pressure from the log-enthalpy.
virtual double der_press_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the specific enthalpy.
void c_est_pas_fait(const char *)
Helpful function to say something is not implemented yet.
virtual ~Eos()
Destructor.
double gam
Adiabatic index for the crust model.
void set_name(const char *name_i)
Sets the EOS name.
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
double n0_b60
Baryon density at zero pressure divided by .
void set_auxiliary()
Computes the auxiliary quantities n0 , rh0 , b34 and fach from the values of the other parameters...
Cmp der_ener_ent(const Cmp &ent, int nzet, int l_min=0, Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy and extra parameters.
void operator=(const Eos_incomp &)
Assignment to another Eos_incomp.
double n_0
Number density scale [unit: ].
double get_n0_b60() const
Returns the baryon density at zero pressure divided by [unit: ].
virtual ~MEos()
Destructor.
virtual double ener_ent_p(double ent, const Param *par=0x0) const
Computes the total energy density from the log-enthalpy.
virtual double der_press_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the specific enthalpy.
virtual double nbar_ent_p(double ent, const Param *par=0x0) const
Computes the baryon density from the specific enthalpy.
double b60
Bag constant [unit: ].
virtual ostream & operator>>(ostream &) const =0
Operator >>
double get_m() const
Returns the fermion mass in eV/c2.
double b60
Bag constant [unit: ].
double get_rho_nd() const
Returns the energy density at neutron drip point, defining the boundary between crust and core [unit:...
virtual double press_ent_p(double ent, const Param *par=0x0) const
Computes the pressure from the specific enthalpy.
virtual bool operator==(const Eos &) const
Comparison operator (egality)
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
int g_s
Degeneracy parameter.
virtual double press_ent_p(double ent, const Param *par=0x0) const
Computes the pressure from the log-enthalpy.
virtual ~Eos_poly_newt()
Destructor.
Eos_incomp_newt(double rho_c)
Standard constructor.
virtual ~Pseudo_polytrope_1D()
Destructor.
double get_eps_fit() const
Returns the fitting parameter related to the square of sound velocity by .
virtual ~Piecewise_polytrope_1D()
Destructor.
virtual ostream & operator>>(ostream &) const
Operator >>
double get_ent_nd() const
Returns the log-enthalpy at neutron drip point, defining the boundary between crust and core...
virtual ostream & operator>>(ostream &) const
Operator >>
Equation of state of incompressible matter (Newtonian case).
double mu_0
Relativistic chemical potential at zero pressure [unit: , with ].
Cmp der_press_ent(const Cmp &ent, int nzet, int l_min=0, Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy and extra parameters.
virtual double der_press_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
virtual double ener_ent_p(double ent, const Param *par=0x0) const
Computes the total energy density from the specific enthalpy.
virtual double der_nbar_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the specific enthalpy.
Eos_incomp(double rho_c)
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 void sauve(FILE *) const
Save in a file.
virtual double der_ener_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the specific enthalpy.
Strange matter EOS (MIT Bag model) with crust.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
void calcule(const Cmp &thermo, int nzet, int l_min, double(Eos::*fait)(double, const Param *) const, Param *par, Cmp &resu) const
General computational method for Cmp 's.
virtual bool operator==(const Eos &) const
Comparison operator (egality)
virtual double der_ener_ent_p(double ent, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy.
friend ostream & operator<<(ostream &, const Eos &)
Display.
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 of incompressible matter (relativistic case).
virtual double der_ener_ent_p(double ent, const Param *par=0x0) const =0
Computes the logarithmic derivative from the log-enthalpy with extra parameters (virtual function im...
virtual double ener_ent_p(double ent, const Param *par=0x0) const
Computes the total energy density from the log-enthalpy.
virtual double nbar_ent_p(double ent, const Param *par=0x0) const
Computes the baryon density from the log-enthalpy.
Cmp press_ent(const Cmp &ent, int nzet, int l_min=0, Param *par=0x0) const
Computes the pressure from the log-enthalpy and extra parameters.
virtual double nbar_ent_p(double ent, const Param *par=0x0) const
Computes the baryon density from the specific enthalpy.
Eos_poly_newt(double gamma, double kappa)
Standard constructor.
virtual void sauve(FILE *) const
Save in a file.
virtual ~Eos_strange()
Destructor.
Eos_Fermi(double mass)
Standard constructor (sets g_s to 2).
virtual void sauve(FILE *) const
Save in a file.
virtual bool operator!=(const Eos &) const
Comparison operator (difference)
virtual void sauve(FILE *) const
Save in a file.