26 #ifndef O2SCL_APR_EOS_H 27 #define O2SCL_APR_EOS_H 30 #include <o2scl/constants.h> 31 #include <o2scl/eos_had_base.h> 32 #include <o2scl/fermion.h> 33 #include <o2scl/fermion_nonrel.h> 35 #ifndef DOXYGEN_NO_O2NS 126 #ifndef DOXYGEN_INTERNAL 190 double fcomp(
double nb);
220 void select(
int model_index=1);
233 O2SCL_ERR(
"Index out of range in eos_had_apr::set_par().",
243 O2SCL_ERR(
"Index out of range in eos_had_apr::set_par().",
277 double &qnn,
double &qnp,
double &qpp,
278 double &dqnndnn,
double &dqnndnp,
279 double &dqnpdnn,
double &dqnpdnp,
280 double &dqppdnn,
double &dqppdnp);
283 virtual const char *
type() {
return "eos_had_apr"; }
306 #ifndef DOXYGEN_NO_O2NS double get_par(size_t n)
Get the value of one of the model parameters.
static const int a18_deltav
With relativistic corrections.
static const int a18_uix
With three body forces.
double fcomp(double nb)
Compute the compressibility.
int last_phase()
Return the phase of the most recent call to calc_e()
double par[22]
Storage for the parameters.
double fesym_diff(double nb)
Calculate symmetry energy of matter as energy of neutron matter minus the energy of nuclear matter...
int pion
Choice of phase (default best)
int gradient_qij2(double nn, double np, double &qnn, double &qnp, double &qpp, double &dqnndnn, double &dqnndnp, double &dqnpdnn, double &dqnpdnp, double &dqppdnn, double &dqppdnp)
Calculate Q's for semi-infinite nuclear matter.
A hadronic EOS at finite temperature based on a function of the densities [abstract base]...
static const int best
use LDP for densities less than 0.16 and for higher densities, use the phase which minimizes energy (...
int lp
An integer to indicate which phase was used in calc_e()
bool parent_method
If true, use the methods from eos_had_base for fcomp() and fesym_diff() (default true) ...
virtual int calc_e(fermion &n, fermion &p, thermo &th)
Equation of state as a function of density.
virtual int calc_temp_e(fermion &n, fermion &pr, double temper, thermo &th)
Equation of state as a function of densities.
fermion_nonrel nrf
Non-relativistic fermion thermodyanmics.
void select(int model_index=1)
Select model.
virtual const char * type()
Return string denoting type ("eos_had_apr")
int choice
The variable indicating which parameter set is to be used.
eos_had_apr()
Create an EOS object with the default parameter set ( ).
void set_par(size_t n, double x)
Set the value of one of the model parameters.
static const int ldp
LDP (no pion condensation)
static const int a18
No three body forces or relativistic corrections.
static const int hdp
HDP (pion condensation)
EOS from Akmal, Pandharipande, and Ravenhall.
static const int a18_uix_deltav
With three body forces and relativistic corrections.