Class eos_had_sym4 (o2scl)

O2scl : Class List

class eos_had_sym4 : public o2scl::eos_had_eden_base

Construct an EOS with an arbitrary choice for the terms in the symmetry energy that are quartic in the isospin asymmetry.

References:

Created for [Steiner06].

Public Functions

int set_base_eos(eos_had_sym4_base &seb)

Set the base equation of state.

virtual int test_eos(fermion &ne, fermion &pr, thermo &lth)

Test the equation of state.

This compares the chemical potentials from calc_e_sep() to their finite-difference approximations in order to ensure that the separation into potential and kinetic parts is done properly.

virtual int calc_e(fermion &ne, fermion &pr, thermo &lth)

Equation of state as a function of density.

Public Members

double alpha

The strength of the quartic terms.

Protected Attributes

eos_had_sym4_base *sp

The base equation of state to use.