80 explicit Hot_eos(
const string&) ;
161 virtual void sauve(FILE* )
const ;
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 ;
316 virtual double temp_Hs_p(
double ent,
double sb)
const = 0 ;
341 ostream& operator<<(ostream& ,
const Hot_eos& ) ;
400 Ideal_gas(
double gamma,
double kappa,
double mass=1.) ;
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 ;
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 ;
Equation of state base class.
Base class for temperature-dependent equations of state (abstract class).
const string & get_name() const
Returns the hot EOS name.
virtual int identify() const =0
Returns a number to identify the sub-classe of Hot_eos the object belongs to.
virtual void del_deriv() const
Deletes all the derived quantities.
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 const Eos & new_cold_Eos() const =0
Returns the corresponding cold Eos.
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.
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...
Eos * p_cold_eos
Corresponding cold Eos.
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...
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 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.
Hot_eos()
Standard constructor.
friend ostream & operator<<(ostream &, const Hot_eos &)
Display.
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.
static Hot_eos * hoteos_from_file(FILE *)
Construction of an EOS from a binary file.
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.
virtual ostream & operator>>(ostream &) const =0
Operator >>
void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
virtual bool operator==(const Hot_eos &) const =0
Comparison operator (egality)
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...
virtual ~Hot_eos()
Destructor.
virtual bool operator!=(const Hot_eos &) const =0
Comparison operator (difference)
virtual void sauve(FILE *) const
Save in a file.
void set_name(const char *)
Sets the hot EOS name.
Hot (temperature-dependent) tabulated equation of state, read from a file.
double hmin
Lower boundary of the enthalpy interval.
virtual void sauve(FILE *) const
Save in a file.
virtual ~Hoteos_tabul()
Destructor.
double sbmax
Upper boundary of the entropy interval.
virtual double nbar_Hs_p(double ent, double sb) const
Computes the baryon density from the log-enthalpy and entropy per baryon (virtual function implemente...
virtual bool operator!=(const Hot_eos &) const
Comparison operator (difference)
void set_arrays_0x0()
Sets all the arrays to the null pointer.
void operator=(const Hoteos_tabul &)
Assignment to another Hoteos_tabul.
virtual ostream & operator>>(ostream &) const
Operator >>
virtual bool operator==(const Hot_eos &) const
Comparison operator (egality)
virtual double press_Hs_p(double ent, double sb) const
Computes the pressure from the log-enthalpy and entropy per baryon (virtual function implemented in t...
double hmax
Upper boundary of the enthalpy interval.
virtual const Eos & new_cold_Eos() const
Returns the corresponding cold Eos.
string tablename
Name of the file containing the tabulated data.
virtual double ener_Hs_p(double ent, double sb) const
Computes the total energy density from the log-enthalpy and entropy per baryon (virtual function impl...
virtual double temp_Hs_p(double ent, double sb) const
Computes the temperature from the log-enthalpy and entropy per baryon (virtual function implemented i...
Hoteos_tabul(const Hoteos_tabul &)
Copy constructor.
virtual int identify() const
Returns a number to identify the sub-classe of Hot_eos the object belongs to.
string authors
Authors - reference for the table.
Tbl * s_B
Table of , entropy per baryon (in units of Boltzmann constant).
void read_table()
Reads the file containing the table and initializes in the arrays hhh , s_B, ppp, ....
Tbl * ppp
Table of pressure $P$.
double sbmin
Lower boundary of the entropy interval.
Ideal-gas (temperature-dependent) equation of state, with mass-term in the energy density.
void set_auxiliary()
Computes the auxiliary quantities gam1 , unsgam1 , gam1sgamkap from the values of gam and kap.
double get_m_0() const
Return the individual particule mass (cf.
virtual double nbar_Hs_p(double ent, double sb) const
Computes the baryon density from the log-enthalpy and entropy per baryon (virtual function implemente...
virtual void sauve(FILE *) const
Save in a file.
double get_kap() const
Returns the pressure coefficient (cf. Eq. (1)).
double m_0
Individual particule mass (cf.
virtual bool operator==(const Hot_eos &) const
Comparison operator (egality)
virtual double press_Hs_p(double ent, double sb) const
Computes the pressure from the log-enthalpy and entropy per baryon (virtual function implemented in t...
double get_gam() const
Returns the adiabatic index (cf. Eq. (1)).
virtual ostream & operator>>(ostream &) const
Operator >>
virtual bool operator!=(const Hot_eos &) const
Comparison operator (difference)
virtual ~Ideal_gas()
Destructor.
virtual double ener_Hs_p(double ent, double sb) const
Computes the total energy density from the log-enthalpy and entropy per baryon (virtual function impl...
virtual double temp_Hs_p(double ent, double sb) const
Computes the temperature from the log-enthalpy and entropy per baryon (virtual function implemented i...
virtual const Eos & new_cold_Eos() const
Returns the corresponding cold Eos.
virtual int identify() const
Returns a number to identify the sub-classe of Hot_eos the object belongs to.
double gam
Adiabatic index .
void operator=(const Ideal_gas &)
Assignment to another Ideal_gas.
double kap
Pressure coefficient (cf.
Tensor field of valence 0 (or component of a tensorial field).