Bayesian Analysis of Neutron Star Mass and Radius Observations
Public Member Functions | Data Fields
bamr::model Class Referenceabstract

Base class for an EOS parameterization. More...

Detailed Description

Definition at line 44 of file models.h.

#include <models.h>

Inheritance diagram for bamr::model:
bamr::two_polytropes bamr::alt_polytropes bamr::fixed_pressure bamr::generic_quarks bamr::qmc_fixp bamr::qmc_neut bamr::qmc_twop bamr::quark_star

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.
 

The documentation for this class was generated from the following file:

Documentation generated with Doxygen. Bamr documentation is under the GNU Free Documentation License.