Class eos_sn_hfsl (o2scl)

O2scl : Class List

class 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.

See also the documentation at ref eos_sn_base and the general description in the Finite-temperature Equation of State Tables section of the User’s guide.

See also [Hempel10] and [Hempel12].

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.

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)

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

Load table from filename fname.

The variable mode is ignored in this EOS.

virtual void load_auto(std::string model, std::string directory)

Look for EOS table for model model in directory directory and download from cloud storage if not found.

Public Members

double m_amu

The atomic mass unit.