Go to the documentation of this file.
26 #ifndef O2SCL_GEN_POTENTIAL_EOS_H
27 #define O2SCL_GEN_POTENTIAL_EOS_H
32 #include <o2scl/constants.h>
33 #include <o2scl/mroot.h>
34 #include <o2scl/eos_had_base.h>
35 #include <o2scl/part.h>
36 #include <o2scl/deriv_gsl.h>
37 #include <o2scl/fermion_nonrel.h>
40 #ifndef DOXYGEN_NO_O2NS
164 double x,Au,Al,rho0,B,sigma,Cl,Cu,Lambda;
165 double A,x0,x3,Bp,C1,z1,Lambda2,C2,z2,bpal_esym;
172 virtual int calc_e(fermion &ne, fermion &pr,
thermo <);
210 virtual const char *
type() {
return "eos_had_potential"; }
214 #ifndef DOXYGEN_INTERNAL
231 static const int nmode=1;
232 static const int pmode=2;
233 static const int normal=0;
243 #ifndef DOXYGEN_NO_O2NS
Generalized potential model equation of state.
static const int sl_form
The "SL" form. See Bombaci01.
deriv_gsl def_mu_deriv
The default derivative object for calculating chemical potentials.
static const int mdi_form
The "momentum-dependent-interaction" form from Das03.
virtual int calc_e(fermion &ne, fermion &pr, thermo <)
Equation of state as a function of density.
static const int gbd_form
The Gale, Bertsch, Das Gupta from Gale87.
bool mu_deriv_set
True of the derivative object has been set.
static const int bgbd_form
The modifed GBD form.
int form
Form of potential.
deriv_base * mu_deriv_ptr
The derivative object.
static const int pal_form
The form from Prakash88.
static const int bpal_form
The form from Prakash88 as formulated in Bombaci01.
int set_mu_deriv(deriv_base<> &de)
Set the derivative object to calculate the chemical potentials.
fermion_nonrel nrf
Non-relativistic fermion thermodyanmics.
double energy(double x)
Compute the energy.
virtual const char * type()
Return string denoting type ("eos_had_potential")
double mom_integral(double pft, double pftp)
Compute the momentum integral for mdi_form.
A hadronic EOS based on a function of the densities [abstract base].
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).