Class eos_had_sym4_base (o2scl)

O2scl : Class List

class eos_had_sym4_base

A class to compute quartic contributions to the symmetry energy [abstract base].

The standard usage is that a child class implements the virtual function calc_e_sep() which is then used by calc_e_alpha() and calc_muhat(). These functions are employed by eos_had_sym4 to compute the EOS for an arbitrary dependence of the symmetry energy on the isospin.

References:

Created for [Steiner06].

Bug:

Testing hasn’t been working recently, especially for MDI-like models.

Subclassed by o2scl::eos_had_sym4_apr, o2scl::eos_had_sym4_mdi, o2scl::eos_had_sym4_rmf, o2scl::eos_had_sym4_skyrme

Public Functions

eos_had_sym4_base()
inline virtual ~eos_had_sym4_base()
virtual int calc_e_alpha(fermion &ne, fermion &pr, thermo &lth, 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.

virtual double calc_muhat(fermion &ne, fermion &pr)

Compute \( \hat{\mu} \), the out-of-whack parameter.

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)

Protected Attributes

fermion e

An electron for the computation of the \( \hat{\mu}\).

fermion_zerot fzt2

Zero-temperature fermion thermodynamics.