Tabulated EOS for nstar_rot from Pandharipande75. More...
#include <nstar_rot.h>
Public Member Functions | |
eos_nstar_rot_L (bool rns_constants=false) | |
![]() | |
template<class vec1_t , class vec2_t , class vec3_t , class vec4_t > | |
void | set_eos_native (vec1_t &eden, vec2_t &pres, vec3_t &enth, vec4_t &nb) |
Set the EOS from four vectors in the native unit system. | |
template<class vec1_t , class vec2_t , class vec3_t > | |
void | set_eos_fm (size_t n, vec1_t &eden, vec2_t &pres, vec3_t &nb) |
Set the EOS from energy density, pressure, and baryon density stored in powers of ![]() | |
virtual double | ed_from_pr (double pr) |
From the pressure, return the energy density. | |
virtual double | pr_from_ed (double ed) |
From the energy density, return the pressure. | |
virtual double | nb_from_pr (double pr) |
From the pressure, return the baryon density. | |
virtual double | pr_from_nb (double nb) |
From the baryon density, return the pressure. | |
virtual double | ed_from_nb (double nb) |
From the baryon density, return the energy density. | |
virtual double | nb_from_ed (double ed) |
From the energy density, return the baryon density. | |
virtual double | enth_from_pr (double pr) |
From the pressure, return the enthalpy. | |
virtual double | enth_from_nb (double nb) |
From the baryon density, return the enthalpy. | |
virtual double | pr_from_enth (double enth) |
From the enthalpy, return the pressure. | |
virtual void | ed_nb_from_pr (double pr, double &ed, double &nb) |
Given the pressure, produce the energy and number densities. More... | |
void | output () |
Output EOS table to screen. More... | |
![]() | |
bool | has_baryons () |
Return true if a baryon density is available. | |
void | check_nb (double &avg_abs_dev, double &max_abs_dev) |
Check that the baryon density is consistent with the ![]() | |
Additional Inherited Members | |
![]() | |
int | verbose |
Control for output (default 1) | |
![]() | |
typedef boost::numeric::ublas::vector< double > | ubvector |
typedef boost::numeric::ublas::matrix< double > | ubmatrix |
![]() | |
int | new_search (int n, double *x, double val) |
Search in array x of length n for value val . | |
double | interp (double xp[], double yp[], int np, double xb) |
Driver for the interpolation routine. More... | |
![]() | |
o2scl::search_vec< double * > | sv |
Array search object. | |
int | n_tab |
number of tabulated EOS points | |
double | log_e_tab [201] |
rho points in tabulated EOS | |
double | log_p_tab [201] |
p points in tabulated EOS | |
double | log_h_tab [201] |
h points in EOS file | |
double | log_n0_tab [201] |
number density in EOS file | |
int | n_nearest |
Cache for interpolation. | |
double | C |
Speed of light in vacuum (in CGS units) | |
double | G |
Gravitational constant (in CGS units) | |
double | KAPPA |
Square of length scale in CGS units, ![]() | |
double | KSCALE |
The value ![]() | |
![]() | |
bool | baryon_column |
Set to true if the baryon density is provided in the EOS (default false) | |
Definition at line 395 of file nstar_rot.h.
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).