Public Member Functions | List of all members
o2scl::eos_nstar_rot Class Referenceabstract

An EOS for nstar_rot. More...

#include <nstar_rot.h>

Inheritance diagram for o2scl::eos_nstar_rot:
o2scl::eos_tov o2scl::eos_nstar_rot_interp o2scl::eos_nstar_rot_C o2scl::eos_nstar_rot_L

Public Member Functions

virtual double enth_from_pr (double pr)=0
 From the pressure, return the enthalpy.
 
virtual double pr_from_enth (double enth)=0
 From the enthalpy, return the pressure.
 
virtual double enth_from_nb (double nb)=0
 From the baryon density, return the enthalpy.
 
- Public Member Functions inherited from o2scl::eos_tov
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 $ P(\varepsilon) $.
 
virtual double ed_from_pr (double pr)=0
 From the pressure, return the energy density.
 
virtual double pr_from_ed (double ed)=0
 From the energy density, return the pressure.
 
virtual double nb_from_ed (double ed)=0
 From the energy density, return the baryon density.
 
virtual double nb_from_pr (double pr)=0
 From the pressure, return the baryon density.
 
virtual double ed_from_nb (double nb)=0
 From the baryon density, return the energy density.
 
virtual double pr_from_nb (double nb)=0
 From the baryon density, return the pressure.
 
virtual void ed_nb_from_pr (double pr, double &ed, double &nb)=0
 Given the pressure, produce the energy and number densities. More...
 

Additional Inherited Members

- Public Attributes inherited from o2scl::eos_tov
int verbose
 Control for output (default 1)
 
- Protected Attributes inherited from o2scl::eos_tov
bool baryon_column
 Set to true if the baryon density is provided in the EOS (default false)
 

Detailed Description

Definition at line 83 of file nstar_rot.h.


The documentation for this class was generated from the following file:

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