#include <sym4_eos.h>
Definition at line 155 of file sym4_eos.h.
Public Member Functions | |
int | set_base_eos (sym4_eos_base &seb) |
Set the base equation of state. | |
virtual int | test_eos (fermion &ne, fermion &pr, thermo <h) |
Test the equation of state. | |
virtual int | calc_e (fermion &ne, fermion &pr, thermo <h) |
Equation of state as a function of density. | |
Data Fields | |
double | alpha |
The strength of the quartic terms. | |
Protected Attributes | |
sym4_eos_base * | sp |
The base equation of state to use. |
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.