#include <tov_eos.h>
Definition at line 376 of file tov_eos.h.
Public Member Functions | |
tov_polytrope_eos () | |
virtual | ~tov_polytrope_eos () |
virtual int | get_eden (double P, double &e, double &nb) |
Given the pressure, produce the energy and number densities. | |
virtual int | get_aux (double P, size_t &np, ovector_view &auxp) |
Given the pressure, produce all the remaining quantities. | |
virtual int | get_names (size_t &np, std::vector< std::string > &pnames) |
Fill a list with strings for the names of the remaining quanities. | |
Data Fields | |
double | K |
Coefficient (default 1.0). | |
double | n |
Index (default 3.0). |
virtual int get_eden | ( | double | P, | |
double & | e, | |||
double & | nb | |||
) | [inline, virtual] |
Given the pressure, produce the energy and number densities.
If the baryon density is not specified, it should be set to zero or baryon_column should be set to false
Reimplemented from tov_eos.