Provide an EOS for TOV solvers based on interpolation of user-supplied vectors.
More...
template<class vec_t>
class o2scl::eos_tov_vectors< vec_t >
Definition at line 444 of file eos_tov.h.
|
void | read_vectors_swap (size_t user_n, vec_t &user_ed, vec_t &user_pr, vec_t &user_nb) |
| Read the EOS from a set of equal length vectors for energy density, pressure, and baryon density. More...
|
|
void | read_vectors_swap (size_t user_n, vec_t &user_ed, vec_t &user_pr) |
| Read the EOS from a pair of equal length vectors for energy density and pressure. More...
|
|
void | read_vectors_copy (size_t user_n, vec_t &user_ed, vec_t &user_pr, vec_t &user_nb) |
| Read the EOS from a set of equal length vectors for energy density, pressure, and baryon density. More...
|
|
void | read_vectors_copy (size_t user_n, vec_t &user_ed, vec_t &user_pr) |
| Read the EOS from a pair of equal length vectors for energy density and pressure. More...
|
|
|
virtual double | ed_from_pr (double pr) |
| From the pressure, return the energy density.
|
|
virtual double | pr_from_ed (double ed) |
| From the energy density, return the pressure.
|
|
virtual double | nb_from_ed (double ed) |
| From the energy density, return the baryon density.
|
|
virtual double | nb_from_pr (double pr) |
| From the pressure, return the baryon density.
|
|
virtual double | ed_from_nb (double nb) |
| From the baryon density, return the energy density.
|
|
virtual double | pr_from_nb (double nb) |
| From the baryon density, return the pressure.
|
|
virtual void | ed_nb_from_pr (double pr, double &ed, double &nb) |
| Given the pressure, produce the energy and number densities. More...
|
|
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 .
|
|