![]() |
Equation of State Sub-Library: Version 0.910
|
The Shen et al. supernova EOS. More...
#include <gen_sn_eos.h>
This class is experimental.
eos.tab
and now referred to as eos1.tab
and stored e.g. at http://user.numazu-ct.ac.jp/~sumi/eos/.In order to force the EOS to a uniform grid, linear interpolation is used to recast the variation in baryon density, choosing the grid in baryon density to be the same as the section in the table with T=0.1 MeV and for all temperature and proton fraction points.
Also, the original EOS is tabulated for constant proton fraction, and this O2scl interface assumes that the electron fraction is equal to the proton fraction. Currently, this is a problem only at higher densities where muons might appear.
The data for gen_sn_eos::E, gen_sn_eos::F, gen_sn_eos::S, and gen_sn_eos::P is not stored in the table but can be computed with gen_sn_eos::compute_eg().
See also the documentation at gen_sn_eos.
Definition at line 642 of file gen_sn_eos.h.
Public Member Functions | |
virtual void | load (std::string fname) |
Load table from filename fname . | |
virtual void | load (std::string fname, size_t mode) |
Load table from filename fname . | |
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 & | log_rho |
Logarithm of baryon number density in ![]() | |
tensor_grid3 & | nB |
Baryon number density in ![]() | |
tensor_grid3 & | log_Y |
Logarithm of proton fraction. | |
tensor_grid3 & | Yp |
Proton fraction. | |
tensor_grid3 & | M_star |
Nucleon effective mass in MeV. | |
tensor_grid3 & | quark_frac |
Fraction of quark matter. | |
Static Public Attributes | |
static const size_t | orig_mode = 0 |
static const size_t | quark_mode = 1 |
virtual void stos_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 687 of file gen_sn_eos.h.
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).