26 #ifndef O2SCL_SYM4_EOS_H
27 #define O2SCL_SYM4_EOS_H
30 #include <o2scl/eos_had_apr.h>
31 #include <o2scl/eos_had_rmf.h>
32 #include <o2scl/eos_had_skyrme.h>
33 #include <o2scl/eos_had_potential.h>
34 #include <o2scl/test_mgr.h>
36 #ifndef DOXYGEN_NO_O2NS
58 #ifndef DOXYGEN_INTERNAL
79 double &alphak,
double &alphap,
double &alphat,
80 double &diff_kin,
double &diff_pot,
81 double &ed_kin_nuc,
double &ed_pot_nuc);
91 double &ed_pot,
double &mu_n_kin,
double &mu_p_kin,
92 double &mu_n_pot,
double &mu_p_pot)=0;
111 double &ed_pot,
double &mu_n_kin,
double &mu_p_kin,
112 double &mu_n_pot,
double &mu_p_pot);
131 double &ed_pot,
double &mu_n_kin,
double &mu_p_kin,
132 double &mu_n_pot,
double &mu_p_pot);
150 double &ed_pot,
double &mu_n_kin,
double &mu_p_kin,
151 double &mu_n_pot,
double &mu_p_pot);
165 #ifndef DOXYGEN_INTERNAL
182 double &ed_pot,
double &mu_n_kin,
double &mu_p_kin,
183 double &mu_n_pot,
double &mu_p_pot);
200 #ifndef DOXYGEN_INTERNAL
232 #ifndef DOXYGEN_NO_O2NS
Generalized potential model equation of state.
virtual int test_eos(fermion &ne, fermion &pr, thermo <h)
Test the equation of state.
fermion e
An electron for the computation of the .
virtual double calc_muhat(fermion &ne, fermion &pr)
Compute , the out-of-whack parameter.
Construct an EOS with an arbitrary choice for the terms in the symmetry energy that are quartic in th...
double alpha
The strength of the quartic terms.
virtual int calc_e_sep(fermion &ne, fermion &pr, double &ed_kin, double &ed_pot, double &mu_n_kin, double &mu_p_kin, double &mu_n_pot, double &mu_p_pot)=0
Compute the potential and kinetic parts separately (to be overwritten in children) ...
virtual int calc_e_sep(fermion &ne, fermion &pr, double &ed_kin, double &ed_pot, double &mu_n_kin, double &mu_p_kin, double &mu_n_pot, double &mu_p_pot)
Compute the potential and kinetic parts separately.
virtual int calc_e_sep(fermion &ne, fermion &pr, double &ed_kin, double &ed_pot, double &mu_n_kin, double &mu_p_kin, double &mu_n_pot, double &mu_p_pot)
Compute the potential and kinetic parts separately.
A class to compute quartic contributions to the symmetry energy [abstract base].
Relativistic mean field theory EOS.
virtual int calc_e_alpha(fermion &ne, fermion &pr, thermo <h, double &alphak, double &alphap, double &alphat, double &diff_kin, double &diff_pot, double &ed_kin_nuc, double &ed_pot_nuc)
Compute alpha at the specified density.
double energy_kin(double var)
Compute the kinetic part of the energy density.
virtual int calc_e(fermion &ne, fermion &pr, thermo <h)
Equation of state as a function of density.
fermion_zerot fzt2
Zero-temperature fermion thermodynamics.
virtual int calc_e_sep(fermion &ne, fermion &pr, double &ed_kin, double &ed_pot, double &mu_n_kin, double &mu_p_kin, double &mu_n_pot, double &mu_p_pot)
Compute the potential and kinetic parts separately.
A version of eos_had_potential to separate potential and kinetic contributions.
A version of eos_had_skyrme to separate potential and kinetic contributions.
A hadronic EOS based on a function of the densities [abstract base].
A version of eos_had_apr to separate potential and kinetic contributions.
virtual int test_separation(fermion &ne, fermion &pr, test_mgr &t)
Test the separation of the potential and kinetic energy parts.
virtual int calc_e_sep(fermion &ne, fermion &pr, double &ed_kin, double &ed_pot, double &mu_n_kin, double &mu_p_kin, double &mu_n_pot, double &mu_p_pot)
Compute the potential and kinetic parts separately.
A version of eos_had_rmf to separate potential and kinetic contributions.
int set_base_eos(eos_had_sym4_base &seb)
Set the base equation of state.
Skyrme hadronic equation of state.
EOS from Akmal, Pandharipande, and Ravenhall.
eos_had_sym4_base * sp
The base equation of state to use.
double energy_pot(double var)
Compute the potential part of the energy density.