Equation of State Sub-Library: Version 0.910
Public Member Functions | Data Fields | Static Public Attributes
sht_eos Class Reference

A class to manipulate the G. Shen et al. EOS. More...

#include <gen_sn_eos.h>

Inheritance diagram for sht_eos:
gen_sn_eos

Detailed Description

This class is experimental.

Note:
O2scl Does not contain the EOS, only provides some code to manipulate it. This class was designed to be used with the FSU models given at http://cecelia.physics.indiana.edu/gang_shen_eos/FSU/fsu.html and stored in the files named FSU1.7eos1.01.dat, FSU2.1eos1.01.dat, FSU1.7eosb1.01.dat, and FSU2.1eosb1.01.dat corresponding to mode_17, mode_21, mode_17b and mode_21b respectively.

See also the documentation at gen_sn_eos.

Todo:
More documentation

Definition at line 756 of file gen_sn_eos.h.

Public Member Functions

virtual void load (std::string fname, size_t mode)
 Load table from filename fname.
virtual void load (std::string fname)
 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_grid3T
 Temperature in MeV.
tensor_grid3Yp
 Proton fraction.
tensor_grid3nB
 Baryon number density in $ 1/\mathrm{fm}^3 $.
tensor_grid3mue
 Electron chemical potential in MeV.
tensor_grid3M_star
 Nucleon effective mass in MeV.

Static Public Attributes

static const size_t mode_17 = 0
 1.7 solar masses with leptons and photons
static const size_t mode_21 = 1
 2.1 solar masses with leptons and photons
static const size_t mode_17b = 2
 1.7 solar masses without leptons and photons
static const size_t mode_21b = 3
 2.1 solar masses without leptons and photons
static const size_t mode_NL3 = 4
 NL3 model with leptons and photons.
static const size_t mode_NL3b = 5
 NL3 model with leptons and photons.

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Friends

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.