Public Member Functions | Public Attributes | Protected Attributes | List of all members
o2scl::eos_cs2_const Class Reference

EOS with a constant speed of sound. More...

#include <eos_cs2_poly.h>

Detailed Description

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 $ \mathrm{fm}^{-1} $, including the rest mass, given the baryon density in $ \mathrm{fm}^{-3} $.
 
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} $.
 
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} $.
 
double pr_from_nb (double nb)
 Return the pressure in $ \mathrm{fm}^{-4} $ given the baryon density in $ \mathrm{fm}^{-3} $.
 

Public Attributes

double cs2
 Speed of sound.
 

Protected Attributes

double C1
 Chemical potential integration constant.
 
double C2
 Energy density integration constant.
 

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).