![]() |
Equation of State Sub-Library: Version 0.910
|
The Lattimer-Swesty supernova EOS. More...
#include <gen_sn_eos.h>
This class is experimental.
ls.dat, sk1.dat, ska.dat
and skm.dat
as provided on Jim Lattimer's website, http://www.astro.sunysb.edu/lattimer/EOS/main.html .Note that the tables on this website are different than what is generated from the LS Fortran code. See oo_eos to read O'Connor and Ott's tables generated from the LS Fortran code.
The four models are
See also the documentation at gen_sn_eos.
See Lattimer91 and Lattimer85.
Definition at line 371 of file gen_sn_eos.h.
Public Member Functions | |
virtual void | load (std::string fname) |
Load table from filename fname . | |
int | check_eg (test_mgr &tm) |
Check electrons and photons. | |
virtual void | beta_eq_T0 (size_t i, double &nb, double &E_beta, double &P_beta, double &Ye_beta, double &Z_beta, double &A_beta) |
Compute properties of matter in beta equilibrium at zero temperature at a baryon density grid point. | |
Data Fields | |
tensor_grid3 & | fill |
Filling factor for nuclei. | |
tensor_grid3 & | nb_in |
Baryon number density inside nuclei in ![]() | |
tensor_grid3 & | dPdn |
Derivative of pressure with respect to baryon density. | |
tensor_grid3 & | dPdT |
Derivative of pressure with respect to temperature. | |
tensor_grid3 & | dPdY |
Derivative of pressure with respect to electron fraction. | |
tensor_grid3 & | dsdT |
Derivative of entropy with respect to temperature. | |
tensor_grid3 & | dsdY |
Derivative of entropy with respect to electron fraction. | |
tensor_grid3 & | Nskin |
Number of neutrons in skin. | |
tensor_grid3 & | nb_out |
Baryon density outside nuclei in ![]() | |
tensor_grid3 & | x_out |
Proton fraction outside nuclei. | |
tensor_grid3 & | mu |
Out of whackness parameter, ![]() |
int ls_eos::check_eg | ( | test_mgr & | tm | ) |
This checks that the electron and photon thermodynamics generated by O2scl is consistent with the data in E
, Eint
, F
, Fint
, P
, Pint
, S
, and Sint
.
virtual void ls_eos::beta_eq_T0 | ( | size_t | i, |
double & | nb, | ||
double & | E_beta, | ||
double & | P_beta, | ||
double & | Ye_beta, | ||
double & | Z_beta, | ||
double & | A_beta | ||
) | [inline, virtual] |
This EOS table doesn't have T=0 results, so we extrapolate from the two low-temperature grid points.
Implements gen_sn_eos.
Definition at line 432 of file gen_sn_eos.h.
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).