29 char eos_from_file_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Eos/eos_from_file.C,v 1.16 2015/08/04 14:41:29 j_novak Exp $" ;
119 #include "eos_multi_poly.h" 120 #include "eos_fitting.h" 121 #include "utilitaires.h" 183 fread_be(&identificator,
sizeof(
int), 1, fich) ;
185 switch(identificator) {
273 p_eos =
new MEos(fich) ;
298 cout <<
"Eos::eos_from_file : unknown type of EOS !" << endl ;
299 cout <<
" identificator = " << identificator << endl ;
319 fich >> identificator ; fich.ignore(1000,
'\n') ;
323 switch(identificator) {
393 fich.ignore(1000,
'\n') ;
395 cout <<
"Reading tabulated EoS, with " 396 << ( (format == 0) ?
"standard LORENE " :
"original CompOSE ")
397 <<
"format." << endl ;
400 fich.ignore(1000,
'\n') ;
423 fich.ignore(1000,
'\n') ;
425 cout <<
"Reading tabulated EoS, with " 426 << ( (format == 0) ?
"standard LORENE " :
"original CompOSE ")
427 <<
"format." << endl ;
430 fich.ignore(1000,
'\n') ;
441 p_eos =
new MEos(fich) ;
466 cout <<
"Eos::eos_from_file : unknown type of EOS !" << endl ;
467 cout <<
" identificator = " << identificator << endl ;
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
Fitted equation of state of AkmalPR.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
Equation of state AkmalPR (Akmal, Pandharipande & Ravenhall 1998).
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
Fitted equation of state of SLy4.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
Equation of state base class.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
Fitted equation of state of FPS.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
EOS with domain dependency.
Strange matter EOS (MIT Bag model).
Degenerate ideal Fermi gas.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
static Eos * eos_from_file(FILE *)
Construction of an EOS from a binary file.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
Equation of state for the CompOSE database with a consistent computation of the log-enthalpy (derived...
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
Eos_poly(double gamma, double kappa)
Standard constructor (sets both m_0 and mu_0 to 1).
Equation of state BPAL12 (Bombaci et al 1995).
Class for a magnetized (tabulated) equation of state.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
Polytropic equation of state (Newtonian case).
Base class for a multiple polytropic equation of state.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
int fread_be(int *aa, int size, int nb, FILE *fich)
Reads integer(s) from a binary file according to the big endian convention.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
Equation of state GlendNH3 (Glendenning 1985, case 3 ).
Equation of state BalbN1H1 (Balberg 2000).
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
Equation of state FPS (Friedman-Pandharipande + Skyrme).
Equation of state BBB2 (Baldo, Bombaci & Burgio 1997).
Equation of state SLy4 (Douchin & Haensel 2001).
Equation of state of incompressible matter (Newtonian case).
Strange matter EOS (MIT Bag model) with crust.
Equation of state for the CompOSE database.
Equation of state of incompressible matter (relativistic case).
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.