Go to the documentation of this file.
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
180 virtual int calc_temp_e(fermion &n, fermion &pr,
double temper,
221 void select(
int model_index=1);
234 O2SCL_ERR(
"Index out of range in eos_had_apr::set_par().",
244 O2SCL_ERR(
"Index out of range in eos_had_apr::set_par().",
278 double &qnn,
double &qnp,
double &qpp,
279 double &dqnndnn,
double &dqnndnp,
280 double &dqnpdnn,
double &dqnpdnp,
281 double &dqppdnn,
double &dqppdnp);
284 virtual const char *
type() {
return "eos_had_apr"; }
307 #ifndef DOXYGEN_NO_O2NS
double fesym_diff(double nb)
Calculate symmetry energy of matter as energy of neutron matter minus the energy of nuclear matter.
static const int best
use LDP for densities less than 0.16 and for higher densities, use the phase which minimizes energy (...
int pion
Choice of phase (default best)
static const int a18_deltav
With relativistic corrections.
double get_par(size_t n)
Get the value of one of the model parameters.
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.
static const int a18_uix
With three body forces.
A hadronic EOS at finite temperature based on a function of the densities [abstract base].
virtual int calc_temp_e(fermion &n, fermion &pr, double temper, thermo &th)
Equation of state as a function of densities.
int choice
The variable indicating which parameter set is to be used.
virtual const char * type()
Return string denoting type ("eos_had_apr")
int last_phase()
Return the phase of the most recent call to calc_e()
double par[22]
Storage for the parameters.
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)
double fcomp_nuc(double nb)
Compute the compressibility in nuclear (isospin-symmetric matter)
EOS from Akmal, Pandharipande, and Ravenhall.
fermion_nonrel nrf
Non-relativistic fermion thermodyanmics.
virtual int calc_e(fermion &n, fermion &p, thermo &th)
Equation of state as a function of density.
static const int hdp
HDP (pion condensation)
static const int ldp
LDP (no pion condensation)
void set_par(size_t n, double x)
Set the value of one of the model parameters.
void select(int model_index=1)
Select model.
static const int a18_uix_deltav
With three body forces and relativistic corrections.
static const int a18
No three body forces or relativistic corrections.
eos_had_apr()
Create an EOS object with the default parameter set ( ).
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).