Class eos_had_sym4_mdi (o2scl)

O2scl : Class List

class eos_had_sym4_mdi : public o2scl::eos_had_potential, public o2scl::eos_had_sym4_base

A version of eos_had_potential to separate potential and kinetic contributions.

References:

Created for [Steiner06].

Public Functions

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 test_separation(fermion &ne, fermion &pr, test_mgr &t)

Test the separation of the potential and kinetic energy parts.

Protected Functions

double energy_kin(double var)

Compute the kinetic part of the energy density.

double energy_pot(double var)

Compute the potential part of the energy density.