80 explicit Hot_eos(
const string&) ;
161 virtual void sauve(FILE* )
const ;
167 virtual ostream&
operator>>(ostream &)
const = 0 ;
196 double (
Hot_eos::*fait)(
double,
double)
const,
Scalar& resu)
const ;
211 virtual double nbar_Hs_p(
double ent,
double sb)
const = 0 ;
247 virtual double ener_Hs_p(
double ent,
double sb)
const = 0 ;
282 virtual double press_Hs_p(
double ent,
double sb)
const = 0 ;
316 virtual double temp_Hs_p(
double ent,
double sb)
const = 0 ;
400 Ideal_gas(
double gamma,
double kappa,
double mass=1.) ;
448 double get_gam()
const ;
451 double get_kap()
const ;
456 double get_m_0()
const ;
464 void set_auxiliary() ;
470 virtual void sauve(FILE* )
const ;
473 virtual ostream&
operator>>(ostream &)
const ;
492 virtual double nbar_Hs_p(
double ent,
double sb)
const ;
506 virtual double ener_Hs_p(
double ent,
double sb)
const ;
520 virtual double press_Hs_p(
double ent,
double sb)
const ;
534 virtual double temp_Hs_p(
double ent,
double sb)
const ;
636 void set_arrays_0x0() ;
656 virtual void sauve(FILE* )
const ;
659 virtual ostream&
operator>>(ostream &)
const ;
678 virtual double nbar_Hs_p(
double ent,
double sb)
const ;
692 virtual double ener_Hs_p(
double ent,
double sb)
const ;
706 virtual double press_Hs_p(
double ent,
double sb)
const ;
720 virtual double temp_Hs_p(
double ent,
double sb)
const ;
virtual double press_Hs_p(double ent, double sb) const =0
Computes the pressure from the log-enthalpy and entropy per baryon (virtual function implemented in t...
Eos * p_cold_eos
Corresponding cold Eos.
double kap
Pressure coefficient (cf.
virtual double nbar_Hs_p(double ent, double sb) const =0
Computes the baryon density from the log-enthalpy and entropy per baryon (virtual function implemente...
virtual double temp_Hs_p(double ent, double sb) const =0
Computes the temperature from the log-enthalpy and entropy per baryon (virtual function implemented i...
const string & get_name() const
Returns the hot EOS name.
Equation of state base class.
double m_0
Individual particule mass (cf.
Tensor field of valence 0 (or component of a tensorial field).
Ideal-gas (temperature-dependent) equation of state, with mass-term in the energy density...
Hot (temperature-dependent) tabulated equation of state, read from a file.
Scalar press_Hs(const Scalar &ent, const Scalar &sb, int nzet, int l_min=0) const
Computes the pressure from the log-enthalpy and entropy per baryon.
Scalar temp_Hs(const Scalar &ent, const Scalar &sb, int nzet, int l_min=0) const
Computes the temperature field from the log-enthalpy field and entropy per baryon.
Scalar ener_Hs(const Scalar &ent, const Scalar &sb, int nzet, int l_min=0) const
Computes the total energy density from the log-enthalpy and entropy per baryon.
void set_name(const char *)
Sets the hot EOS name.
virtual double ener_Hs_p(double ent, double sb) const =0
Computes the total energy density from the log-enthalpy and entropy per baryon (virtual function impl...
Tbl * s_B
Table of , entropy per baryon (in units of Boltzmann constant).
double hmax
Upper boundary of the enthalpy interval.
double gam
Adiabatic index .
string authors
Authors - reference for the table.
friend ostream & operator<<(ostream &, const Hot_eos &)
Display.
double hmin
Lower boundary of the enthalpy interval.
virtual ~Hot_eos()
Destructor.
string tablename
Name of the file containing the tabulated data.
virtual ostream & operator>>(ostream &) const =0
Operator >>
virtual int identify() const =0
Returns a number to identify the sub-classe of Hot_eos the object belongs to.
Scalar nbar_Hs(const Scalar &ent, const Scalar &sb, int nzet, int l_min=0) const
Computes the baryon density field from the log-enthalpy field and entropy per baryon.
void calcule(const Scalar &thermo1, const Scalar &thermo2, int nzet, int l_min, double(Hot_eos::*fait)(double, double) const, Scalar &resu) const
General computational method for Scalar 's.
Hot_eos()
Standard constructor.
virtual void del_deriv() const
Deletes all the derived quantities.
virtual bool operator!=(const Hot_eos &) const =0
Comparison operator (difference)
Base class for temperature-dependent equations of state (abstract class).
virtual const Eos & new_cold_Eos() const =0
Returns the corresponding cold Eos.
virtual void sauve(FILE *) const
Save in a file.
static Hot_eos * hoteos_from_file(FILE *)
Construction of an EOS from a binary file.
virtual bool operator==(const Hot_eos &) const =0
Comparison operator (egality)
Tbl * ppp
Table of pressure $P$.
void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
double sbmax
Upper boundary of the entropy interval.
double sbmin
Lower boundary of the entropy interval.