31 #include <o2scl/nstar_cold.h>
32 #include <o2scl/eos_had_schematic.h>
33 #include <o2scl/root_brent_gsl.h>
34 #include <o2scl/cli.h>
35 #include <o2scl/prob_dens_func.h>
90 (
entry &e, std::ofstream &scr_out,
210 virtual void compute_eos(entry &e,
int &success, std::ofstream &scr_out);
504 virtual void compute_eos(entry &e,
int &success, std::ofstream &scr_out);
double rho_trans
Transition density (default 0.16, different than bamr::qmc_neut)
virtual std::string param_name(size_t i)
Return the unit of parameter with index i.
virtual void remove_params(o2scl::cli &cl)
Remove model-specific parameters.
o2scl::prob_dens_gaussian pdg
Gaussian distribution for proton correction factor.
o2scl::cli::parameter_double p_kin_sym
Parameter for kinetic part of symmetry energy.
virtual void high_limits(entry &e)
Set the upper boundaries for all the parameters, masses, and radii.
virtual void low_limits(entry &e)
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 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.
A simplified version of nstar_cold.
double c
The paramter controlling non-perturbative corrections to .
A data class which holds the EOS parameters, the masses and the radii.
virtual void low_limits(entry &e)
Set the lower boundaries for all the parameters, masses, and radii.
virtual std::string param_name(size_t i)
Return the name of parameter with index i.
virtual void compute_eos(entry &e, int &success, std::ofstream &scr_out)
Compute the EOS corresponding to parameters in e and put output in tab_eos.
virtual void low_limits(entry &e)
Set the lower boundaries for all the parameters, masses, and radii.
virtual std::string param_name(size_t i)
Return the name of parameter with index i.
virtual std::string param_name(size_t i)
Return the name of parameter with index i.
double pressure2(double mu)
Compute the pressure as a function of the chemical potential.
virtual void baryon_density_point(double &n1, double &e1)
A point to calibrate the baryon density with.
virtual void compute_eos(entry &e, int &success, std::ofstream &scr_out)
Compute the EOS corresponding to parameters in e and put output in tab_eos.
o2scl::fermion neut
Neutron for se.
virtual std::string param_unit(size_t i)
Return the unit of parameter with index i.
virtual void first_point(entry &e)
Function to compute the initial guess.
o2scl::mroot_hybrids gmh
The solver to find the chemical potential for zero pressure.
virtual std::string param_unit(size_t i)
Return the unit of parameter with index i.
A strange quark star model.
virtual std::string param_name(size_t i)=0
Return the name of parameter with index i.
two_polytropes()
Create a model object.
virtual std::string param_unit(size_t i)
Return the unit of parameter with index i.
double ms
The strange quark mass.
QMC + two polytropes for Steiner15un.
virtual void compute_eos(entry &e, int &success, std::ofstream &scr_out)
Compute the EOS corresponding to parameters in e and put output in tab_eos.
Base class for an EOS parameterization.
virtual void compute_eos(entry &e, int &success, std::ofstream &scr_out)
Compute the EOS corresponding to parameters in e and put output in tab_eos.
virtual void compute_eos(entry &e, int &success, std::ofstream &scr_out)
Compute the EOS corresponding to parameters in e and put output in tab_eos.
virtual std::string param_name(size_t i)
Return the name of parameter with index i.
double rho0
Saturation density in .
QMC + line segments model for Steiner15un.
virtual void low_limits(entry &e)
Set the lower boundaries for all the parameters, masses, and radii.
virtual void high_limits(entry &e)
Set the upper boundaries for all the parameters, masses, and radii.
virtual void low_limits(entry &e)
Set the lower boundaries for all the parameters, masses, and radii.
virtual void first_point(entry &e)
Function to compute the initial guess.
virtual void first_point(entry &e)
Function to compute the initial guess.
virtual void high_limits(entry &e)
Set the upper boundaries for all the parameters, masses, and radii.
Definition of entry class.
o2scl::eos_had_schematic se
Low-density EOS.
virtual void high_limits(entry &e)
Set the upper boundaries for all the parameters, masses, and radii.
virtual std::string param_unit(size_t i)
Return the unit of parameter with index i.
double nb_n1
The fiducial baryon density.
o2scl::root_brent_gsl grb
An alternative root finder.
o2scl::interp_vec si_err
Ratio error interpolator.
virtual std::string param_name(size_t i)
Return the name of parameter with index i.
o2scl::interp_vec si
Ratio interpolator.
virtual void first_point(entry &e)
Function to compute the initial guess.
virtual std::string param_name(size_t i)
Return the name of parameter with index i.
virtual void first_point(entry &e)
Function to compute the initial guess.
virtual void high_limits(entry &e)
Set the upper boundaries for all the parameters, masses, and radii.
virtual void setup_params(o2scl::cli &cl)
Setup new parameters.
virtual void low_limits(entry &e)
Set the lower boundaries for all the parameters, masses, and radii.
virtual void first_point(entry &e)
Function to compute the initial guess.
virtual std::string param_unit(size_t i)
Return the unit of parameter with index i.
virtual void setup_params(o2scl::cli &cl)
Setup new model parameters.
Definition of nstar_cold2.
Fix pressure on a grid of energy densities.
virtual void remove_params(o2scl::cli &cl)
Remove model-specific parameters.
virtual void compute_eos(entry &e, int &success, std::ofstream &scr_out)
Compute the EOS corresponding to parameters in e and put output in tab_eos.
virtual void compute_eos(entry &e, int &success, std::ofstream &scr_out)
Compute the EOS corresponding to parameters in e and put output in tab_eos.
virtual std::string param_unit(size_t i)
Return the unit of parameter with index i.
virtual std::string param_unit(size_t i)
Return the unit of parameter with index i.
virtual void setup_params(o2scl::cli &cl)
Setup new parameters.
virtual void high_limits(entry &e)
Set the upper boundaries for all the parameters, masses, and radii.
virtual void first_point(entry &e)
Function to compute the initial guess.
double rho_trans
Transition density (default 0.16, different than bamr::qmc_neut)
virtual void high_limits(entry &e)
Set the upper boundaries for all the parameters, masses, and radii.
virtual void remove_params(o2scl::cli &cl)
Remove model-specific parameters.
double rho0
Saturation density in .
ubvector ed_corr
Interpolation objects.
virtual void high_limits(entry &e)
Set the upper boundaries for all the parameters, masses, and radii.
virtual void low_limits(entry &e)=0
Set the lower boundaries for all the parameters, masses, and radii.
double B
The bag constant.
virtual std::string param_name(size_t i)
Return the unit of parameter with index i.
virtual void low_limits(entry &e)
Set the lower boundaries for all the parameters, masses, and radii.
virtual void low_limits(entry &e)
Set the lower boundaries for all the parameters, masses, and radii.
virtual void first_point(entry &e)
Function to compute the initial guess.
virtual std::string param_unit(size_t i)=0
Return the unit of parameter with index i.
virtual void first_point(entry &e)
Function to compute the initial guess.
double rho_trans
Transition density (default 0.48)
virtual void baryon_density_point(double &n1, double &e1)
A point to calibrate the baryon density with.
nstar_cold2 cns
TOV solver and storage for the EOS table.
double rho0
Saturation density in .
double nb_e1
The fiducial energy density.
virtual std::string param_unit(size_t i)
Return the unit of parameter with index i.
Use QMC computations of neutron matter from Steiner12cn.
virtual void compute_eos(entry &e, int &success, std::ofstream &scr_out)
Compute the EOS corresponding to parameters in e and put output in tab_eos.
int pressure(size_t nv, const ubvector &x, ubvector &y)
Compute the pressure as a function of the chemical potential.
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.
o2scl::fermion prot
Proton for se.