Bayesian Analysis of Neutron Star Mass and Radius Observations
|
Base class for an EOS parameterization. More...
#include <models.h>
Public Member Functions | |
virtual void | setup_params (o2scl::cli &cl) |
Setup new parameters. | |
virtual void | remove_params (o2scl::cli &cl) |
Remove model-specific parameters. | |
virtual void | low_limits (entry &e)=0 |
Set the lower boundaries for all the parameters, masses, and radii. | |
virtual void | high_limits (entry &e)=0 |
Set the upper boundaries for all the parameters, masses, and radii. | |
virtual std::string | param_name (size_t i)=0 |
Return the name of parameter with index i . | |
virtual std::string | param_unit (size_t i)=0 |
Return the unit of parameter with index i . | |
virtual void | compute_eos (entry &e, int &success, std::ofstream &scr_out)=0 |
Compute the EOS corresponding to parameters in e and put output in tab_eos . | |
virtual void | compute_mr (entry &e, std::ofstream &scr_out, o2scl::o2_shared_ptr< o2scl::table_units<> >::type tab_mvsr, int &success) |
Compute the M-R curve directly. | |
virtual void | baryon_density_point (double &n1, double &e1) |
A point to calibrate the baryon density with. | |
virtual void | first_point (entry &e) |
Function to compute the initial guess. | |
Data Fields | |
nstar_cold2 | cns |
TOV solver and storage for the EOS table. | |
Documentation generated with Doxygen. Bamr documentation is under the GNU Free Documentation License.