205 explicit Eos(
const char* name_i) ;
293 virtual void sauve(FILE* )
const ;
299 virtual ostream&
operator>>(ostream &)
const = 0 ;
322 void calcule(
const Cmp& thermo,
int nzet,
int l_min,
323 double (
Eos::*fait)(
double,
const Param*)
const,
const Param* par,
Cmp& resu)
const ;
360 virtual double nbar_ent_p(
double ent,
const Param* par=0x0)
const = 0 ;
419 virtual double ener_ent_p(
double ent,
const Param* par=0x0)
const = 0 ;
809 Eos_poly(
double gamma,
double kappa) ;
823 Eos_poly(
double gamma,
double kappa,
double mass) ;
841 Eos_poly(
double gamma,
double kappa,
double mass,
double mu_zero) ;
890 double get_gam()
const ;
897 double get_kap()
const ;
903 double get_m_0()
const ;
908 double get_mu_0()
const ;
914 void set_auxiliary() ;
921 virtual void sauve(FILE* )
const ;
924 virtual ostream&
operator>>(ostream &)
const ;
1120 virtual void sauve(FILE* )
const ;
1123 virtual ostream&
operator>>(ostream &)
const ;
1297 virtual void sauve(FILE* )
const ;
1300 virtual ostream&
operator>>(ostream &)
const ;
1460 virtual void sauve(FILE* )
const ;
1463 virtual ostream&
operator>>(ostream &)
const ;
1610 Eos_strange(
double n0_b60_i,
double b60_i,
double ent0_i,
1611 double eps_fit_i,
double rho0_b60_i) ;
1689 void set_auxiliary() ;
1696 virtual void sauve(FILE* )
const ;
1699 virtual ostream&
operator>>(ostream &)
const ;
1902 double eps_fit_i,
double rho0_b60_i,
1903 double ent_nd_i,
double rho_nd_i,
2000 void set_auxiliary() ;
2007 virtual void sauve(FILE* )
const ;
2010 virtual ostream&
operator>>(ostream &)
const ;
2186 double get_m()
const ;
2189 int get_g_degen()
const ;
2194 void set_auxiliary() ;
2201 virtual void sauve(FILE* )
const ;
2204 virtual ostream&
operator>>(ostream &)
const ;
2302 MEos(
int ndom_i,
const Eos** mono_eos_i) ;
2341 void operator=(
const MEos& ) ;
2363 virtual void sauve(FILE* )
const ;
2366 virtual ostream&
operator>>(ostream &)
const ;
2446 #include "eos_tabul.h" 2447 #include "eos_compose.h" 2448 #include "eos_mag.h" virtual bool operator==(const Eos &) const =0
Comparison operator (egality)
double eps_fit
Fitting parameter related to the square of sound velocity by .
double get_rho0_b60() const
Returns the energy density at zero pressure divided by .
double get_n0_b60() const
Returns the baryon density at zero pressure divided by [unit: ].
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 ]...
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...
Cmp der_ener_ent(const Cmp &ent, int nzet, int l_min=0, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy and extra parameters.
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...
const char * get_name() const
Returns the EOS name.
double x_nd
Ratio of pressure to energy density at neutron drip point.
Equation of state base class.
int ndom
Number of domains.
virtual int identify() const =0
Returns a number to identify the sub-classe of Eos the object belongs to.
Tensor field of valence 0 (or component of a tensorial field).
double get_gam() const
Returns the adiabatic index for the crust model.
double ent_nd
Log-enthalpy at neutron drip point, defining the boundary between crust and core. ...
double rho0
Constant density .
double rho_nd
Energy density at neutron drip point, defining the boundary between crust and core [unit: ]...
double get_b60() const
Returns the bag constant [unit: ].
double ent_0
Enthalpy at zero pressure ( )
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...
EOS with domain dependency.
double n0_b60
Baryon density at zero pressure divided by .
Cmp press_ent(const Cmp &ent, int nzet, int l_min=0, const Param *par=0x0) const
Computes the pressure from the log-enthalpy and extra parameters.
double kap
Pressure coefficient (cf.
virtual void sauve(FILE *) const
Save in a file.
Eos()
Standard constructor.
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...
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)...
double get_b60() const
Returns the bag constant [unit: ].
Strange matter EOS (MIT Bag model).
Degenerate ideal Fermi gas.
double n0
Baryon density at zero pressure.
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.
Cmp nbar_ent(const Cmp &ent, int nzet, int l_min=0, const Param *par=0x0) const
Computes the baryon density field from the log-enthalpy field and extra parameters.
double get_ent0() const
Returns the log-enthalpy threshold for setting the energy density to a non zero value (should be nega...
double p_0
Pressure scale [unit: ], where ].
const Eos ** mono_eos
Array (upon the domains) containing the various EOS.
double delent
Enthalpy shift in quark phase.
Polytropic equation of state (relativistic case).
double m_0
Individual particule mass [unit: eV/c2].
double ent0
Log-enthalpy threshold for setting the energy density to a non zero value (should be negative)...
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 rho0
Energy density at zero pressure.
bool constructed_from_file
Indicates wether the EOS has been constructed from a file.
Polytropic equation of state (Newtonian case).
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))
void calcule(const Cmp &thermo, int nzet, int l_min, double(Eos::*fait)(double, const Param *) const, const Param *par, Cmp &resu) const
General computational method for Cmp 's.
double ent0
Log-enthalpy threshold for setting the energy density to a non zero value (should be negative)...
double eps_fit
Fitting parameter related to the square of sound velocity by .
virtual ~Eos()
Destructor.
double gam
Adiabatic index for the crust model.
void set_name(const char *name_i)
Sets the EOS name.
double n0_b60
Baryon density at zero pressure divided by .
double n_0
Number density scale [unit: ].
double get_n0_b60() const
Returns the baryon density at zero pressure divided by [unit: ].
double b60
Bag constant [unit: ].
virtual ostream & operator>>(ostream &) const =0
Operator >>
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:...
int g_s
Degeneracy parameter.
double get_eps_fit() const
Returns the fitting parameter related to the square of sound velocity by .
double get_ent_nd() const
Returns the log-enthalpy at neutron drip point, defining the boundary between crust and core...
Equation of state of incompressible matter (Newtonian case).
double mu_0
Relativistic chemical potential at zero pressure [unit: , with ].
Cmp ener_ent(const Cmp &ent, int nzet, int l_min=0, const Param *par=0x0) const
Computes the total energy density from the log-enthalpy and extra parameters.
Cmp der_nbar_ent(const Cmp &ent, int nzet, int l_min=0, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy and extra parameters.
Strange matter EOS (MIT Bag model) with crust.
friend ostream & operator<<(ostream &, const Eos &)
Display.
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...
Cmp der_press_ent(const Cmp &ent, int nzet, int l_min=0, const Param *par=0x0) const
Computes the logarithmic derivative from the log-enthalpy and extra parameters.