29char 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 ;
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.
Equation of state BBB2 (Baldo, Bombaci & Burgio 1997).
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
Equation of state BPAL12 (Bombaci et al 1995).
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
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 for the CompOSE database.
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).
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
Degenerate ideal Fermi gas.
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 ).
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
Equation of state SLy4 (Douchin & Haensel 2001).
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.
Fitted equation of state of AkmalPR.
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.
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 of incompressible matter (Newtonian case).
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
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.
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.
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.
Polytropic equation of state (Newtonian case).
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
Polytropic equation of state (relativistic case).
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
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.
Strange matter EOS (MIT Bag model).
virtual int identify() const
Returns a number to identify the sub-classe of Eos the object belongs to.
Equation of state base class.
static Eos * eos_from_file(FILE *)
Construction of an EOS from a binary file.
EOS with domain dependency.
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.