- Todo:
- Document what the nstar_rot code requirements are for the low-density part of the EOS.
- Idea for Future:
- Replace arrays with vectors
Definition at line 107 of file nstar_rot.h.
|
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 .
|
|