Class eos_cs2_const (o2scl)¶
-
class o2scl::eos_cs2_const¶
EOS with a constant speed of sound.
Public Functions
-
inline eos_cs2_const()¶
-
inline void fix_integ_consts(double mub1, double ed1, double pr1)¶
Fix the integration constants by specifying the pressure, baryon chemical potential, and energy density.
-
inline double mu_from_nb(double nb)¶
Return the chemical potential in \( \mathrm{fm}^{-1} \), including the rest mass, given the baryon density in \( \mathrm{fm}^{-3} \).
-
inline double ed_from_nb(double nb)¶
Return the energy density in \( \mathrm{fm}^{-4} \), including the rest mass energy density, given the baryon density in \( \mathrm{fm}^{-3} \).
-
inline double nb_from_ed(double ed)¶
Return the energy density in \( \mathrm{fm}^{-4} \), including the rest mass energy density, given the baryon density in \( \mathrm{fm}^{-3} \).
-
inline double pr_from_nb(double nb)¶
Return the pressure in \( \mathrm{fm}^{-4} \) given the baryon density in \( \mathrm{fm}^{-3} \).
Public Members
-
double cs2¶
Speed of sound.
-
inline eos_cs2_const()¶