Class eos_sn_hfsl (o2scl)

O2scl_eos : Class List

class o2scl::eos_sn_hfsl : public o2scl::eos_sn_base

The Hempel et al. supernova EOSs.

This class is experimental.

The free energy is stored with respect to the proton mass of 938 MeV, so

eos_sn_base::Fint is shifted by
\[ 938~\mathrm{MeV}-Y_e m_p-(1-Y_e) m_n \]
and the internal energy is stored with respect to an atomic mass unit so eos_sn_base::Eint is shifted by
\[ 931~\mathrm{MeV}-Y_e m_p-(1-Y_e) m_n \]
the rest of the file data is copied over directly from the file.
Note

Does not contain the EOS, only provides some code to manipulate it. This class was designed to be used with the files dd2_frdm_eos_shen98format_v1.02.tab, fsg_roca_eos_shen98format_v1.0.tab, and nl3_lala_eos_shen98format_v1.0.tab as obtained from http://phys-merger.physik.unibas.ch/~hempel/eos.html.

See also the documentation at eos_sn_base and the sneos_section section of the User’s guide.

See Hempel10 and Hempel12.

Additional data included in this EOS

tensor_grid3 &log_rho

Logarithm of baryon number density in \( \mathrm{g}/\mathrm{cm}^3 \).

tensor_grid3 &nB

Baryon number density in \( 1/\mathrm{fm}^3 \).

tensor_grid3 &log_Y

Logarithm of proton fraction.

tensor_grid3 &Yp

Proton fraction.

tensor_grid3 &M_star

Nucleon effective mass in MeV.

tensor_grid3 &A_light

Mass number of light fragments.

tensor_grid3 &Z_light

Proton number of light fragments.

bool check_grid

If true, check the grid after load() (default true)

eos_sn_hfsl()
void load(std::string fname, size_t mode = 0)

Load table from filename fname.

Public Members

double m_amu

The atomic mass unit.