Class eos_nstar_rot (o2scl)

O2scl : Class List

class eos_nstar_rot : public o2scl::eos_tov

An EOS for nstar_rot.

The nstar_rot class uses the functions

It is assumed that all of these functions operate with the following unit scheme

  • ed is the energy density in units of \( 10^{15}~\mathrm{g}/\mathrm{cm}^3 \)

  • pr is the pressure in units of \( 10^{15}~\mathrm{g}/\mathrm{cm}^3 \)

  • enth is the pseudo-enthalpy defined by

    \[ \hat{h}_{\mathrm{RNS}} = 10^{-8} \left[\frac{\mu}{\mu(P=0)}\right] \]

  • nb is the baryon density in units of \( 1/\mathrm{cm}^3 \)

Subclassed by o2scl::eos_nstar_rot_interp

Public Functions

virtual double enth_from_pr(double pr) = 0

From the pressure, return the pseudo-enthalpy.

virtual double pr_from_enth(double enth) = 0

From the pseudo-enthalpy, return the pressure.

virtual double enth_from_nb(double nb) = 0

From the baryon density, return the pseudo-enthalpy.