Class nstar_hot (o2scl)¶
-
class nstar_hot : public o2scl::nstar_cold¶
Neutron stars at finite temperature and entropy.
Public Functions
-
inline nstar_hot()¶
-
inline void set_eos_T(eos_had_temp_base &he)¶
Set the finite-temperature hadronic EOS.
-
int calc_eos_T(double T, double np_0 = 0.0)¶
Compute the EOS in betq-equilibrium at finite temperature.
-
int calc_eos_point_beta_T(double nb, double T, double &np, thermo &hb)¶
Compute the EOS in betq-equilibrium at finite temperature at a particular density.
-
int calc_eos_point_beta_s(double nb, double sonb, double &np, thermo &hb)¶
Compute the EOS in betq-equilibrium at finite entropy per baryon.
-
int calc_eos_s(double s, double np_0 = 0.0)¶
Compute the EOS in betq-equilibrium at fixed entropy per baryon.
-
int calc_eos_s_YLe(double s, double YLe, double np_0 = 0.0)¶
Compute the EOS in betq-equilibrium at fixed entropy per baryon at a fixed number of electron-type leptons per baryon.
Protected Types
-
typedef boost::numeric::ublas::vector<double> ubvector¶
Protected Functions
-
int solve_fun_T(size_t nv, const ubvector &x, ubvector &y, thermo &hb, double T, double n_B)¶
Solve for beta equilibrium at finite temperature.
Protected Attributes
-
eos_had_temp_base *hepT¶
A pointer to the finite temperature equation of state.
-
fermion_rel ft¶
Fermion thermodynamics (for the leptons)
-
bool eos_T_set¶
If true, then the hadronic EOS has been set.
-
inline nstar_hot()¶