EOS with a constant speed of sound. More...
#include <eos_cs2_poly.h>
Definition at line 154 of file eos_cs2_poly.h.
Public Member Functions | |
void | fix_integ_consts (double mub1, double ed1, double pr1) |
Fix the integration constants by specifying the pressure, baryon chemical potential, and energy density. | |
double | mu_from_nb (double nb) |
Return the chemical potential in ![]() ![]() | |
double | ed_from_nb (double nb) |
Return the energy density in ![]() ![]() | |
double | nb_from_ed (double ed) |
Return the energy density in ![]() ![]() | |
double | pr_from_nb (double nb) |
Return the pressure in ![]() ![]() | |
Public Attributes | |
double | cs2 |
Speed of sound. | |
Protected Attributes | |
double | C1 |
Chemical potential integration constant. | |
double | C2 |
Energy density integration constant. | |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).