254 const Tbl* pent_limit = 0x0 ) ;
317 const Scalar& get_lnq()
const {
return lnq;} ;
325 virtual void sauve(FILE* )
const ;
332 virtual ostream&
operator>>(ostream& )
const ;
371 virtual double mass_b()
const = 0 ;
374 virtual double mass_g()
const = 0 ;
377 ostream& operator<<(ostream& ,
const Hot_star& ) ;
Sym_tensor hij_comp
Deviation of the inverse conformal metric from the inverse flat metric generated principally by the ...
const Scalar & get_ener() const
Returns the proper total energy density.
Vector dcov_phi
Covariant derivative of the logarithm of the conformal factor.
const Scalar & get_nbar() const
Returns the proper baryon density.
const Scalar & get_ent() const
Returns the enthalpy field.
bool irrotational
true for an irrotational star, false for a corotating one
Metric for tensor calculation.
virtual double mass_b() const =0
Baryon mass.
const Vector & get_u_euler() const
Returns the fluid 3-velocity with respect to the Eulerian observer.
Scalar temp
Temperature field (in MeV)
Scalar nbar
Baryon density in the fluid frame.
Scalar psi0
Scalar potential of the non-translational part of fluid 4-velocity (in the irrotational case) ...
Vector wit_w
Spatial projection of the fluid 3-velocity with respect to the co-orbiting observer.
Scalar ssjm1_lnq
Effective source at the previous step for the resolution of the Poisson equation for lnq_auto...
Sym_tensor hij_auto
Deviation of the inverse conformal metric from the inverse flat metric generated principally by the ...
double * p_ray_pole
Coordinate radius at .
double * p_mass_g
Gravitational mass.
Vector d_psi
Gradient of (in the irrotational case) (Spherical components with respect to the mapping of the star...
Scalar ssjm1_h31
Effective source at the previous step for the resolution of the Poisson equation for h20_auto...
Scalar ssjm1_h11
Effective source at the previous step for the resolution of the Poisson equation for h00_auto...
int get_nzet() const
Returns the number of domains occupied by the star.
Base class for hot stars.
Flat metric for tensor calculation.
Tensor field of valence 0 (or component of a tensorial field).
Scalar ener_euler
Total energy density in the Eulerian frame.
Base class for coordinate mappings.
void equation_of_state()
Computes the proper baryon and energy density, as well as pressure from the enthalpy.
Scalar ssjm1_h33
Effective source at the previous step for the resolution of the Poisson equation for h22_auto...
Scalar logn_comp
Part of the lapse logarithm (gravitational potential at the Newtonian limit) generated principally by...
Basic integer array class.
Scalar loggam
Logarithm of the Lorentz factor between the fluid and the co-orbiting observer.
Scalar kcar_auto
Part of the scalar generated by beta_auto, i.e.
double ray_eq_pi() const
Coordinate radius at , [r_unit].
Scalar entropy
Entropy per baryon field (in $k_B$)
virtual const Itbl & l_surf() const
Description of the stellar surface: returns a 2-D Itbl containing the values of the domain index l on...
Scalar nn
Lapse function N .
void set_enthalpy(const Scalar &)
Assignment of the enthalpy field.
Tensor field of valence 1.
const Scalar & get_gam_euler() const
Returns the Lorentz factor between the fluid and Eulerian observers.
Scalar logn_auto
Part of the lapse logarithm (gravitational potential at the Newtonian limit) generated principally by...
Scalar ssjm1_h21
Effective source at the previous step for the resolution of the Poisson equation for h10_auto...
Scalar logn
Logarithm of the lapse N .
const Scalar & get_temp() const
Returns the fluid temperature.
double ray_eq_pis2() const
Coordinate radius at , [r_unit].
double ray_eq() const
Coordinate radius at , [r_unit].
int nzet
Number of domains of *mp occupied by the star.
Scalar decouple
Function used to construct the part generated by the star from the total .
virtual void sauve(FILE *) const
Save in a file.
Sym_tensor hij
Total deviation of the inverse conformal metric from the inverse flat metric.
const Scalar & get_nn() const
Returns the lapse function N.
Itbl * p_l_surf
Description of the stellar surface: 2-D Itbl containing the values of the domain index l on the surfa...
double * p_ray_eq_pis2
Coordinate radius at , .
Scalar pot_centri
Centrifugal potential.
Tbl * p_xi_surf
Description of the stellar surface: 2-D Tbl containing the values of the radial coordinate on the su...
const Scalar & get_ener_euler() const
Returns the total energy density with respect to the Eulerian observer.
double * p_xa_barycenter
Absolute coordinate X of the barycenter of the baryon density.
Metric_flat flat
Flat metric defined on the mapping (Spherical components with respect to the mapping of the star) ...
Scalar lnq_auto
Scalar field generated principally by the star.
const Map & get_mp() const
Returns the mapping.
Scalar lnq_comp
Scalar field generated principally by the companion star.
const Hot_eos & get_eos() const
Returns the equation of state.
double * p_mass_b
Baryon mass.
Scalar gam_euler
Lorentz factor between the fluid and Eulerian observers.
Scalar ener
Total energy density in the fluid frame.
Map & mp
Mapping associated with the star.
Sym_tensor tkij_comp
Part of the extrinsic curvature tensor generated by beta_comp.
Vector dcov_logn
Covariant derivative of the total logarithm of the lapse.
Class for stars in binary system.
const Vector & get_beta() const
Returns the shift vector .
const Metric & get_gamma() const
Returns the 3-metric .
void operator=(const Hot_star &)
Assignment to another Hot_star.
const Scalar & get_entropy() const
Returns the entropy field.
Metric gtilde
Conformal metric .
Map & set_mp()
Read/write of the mapping.
Vector dcon_logn
Contravariant derivative of the total logarithm of the lapse.
virtual void del_hydro_euler()
Sets to ETATNONDEF (undefined state) the hydrodynamical quantities relative to the Eulerian observer...
double * p_ray_eq_pi
Coordinate radius at , .
const Hot_eos & heos
Equation of state of the stellar matter.
Base class for 2-parameters equations of state (abstract class).
virtual void hydro_euler()
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid fram...
Hot_star(Map &mp_i, int nzet_i, const Hot_eos &heos_i)
Standard constructor.
Scalar ssjm1_h22
Effective source at the previous step for the resolution of the Poisson equation for h11_auto...
Vector beta_comp
Part of the shift vector generated principally by the star (Spherical components with respect to the ...
const Scalar & get_logn() const
Returns the logarithm of the lapse N.
double * p_ray_eq_3pis2
Coordinate radius at , .
const Tensor & get_stress_euler() const
Returns the spatial part of the stress-energy tensor with respect to the Eulerian observer...
Sym_tensor tkij_auto
Part of the extrinsic curvature tensor generated by beta_auto.
bool conf_flat
true if the 3-metric is conformally flat, false for a more general metric.
Scalar ssjm1_h32
Effective source at the previous step for the resolution of the Poisson equation for h21_auto...
friend ostream & operator<<(ostream &, const Hot_star &)
Display.
Vector beta_auto
Part of the shift vector generated principally by the star (Spherical components with respect to the ...
Sym_tensor stress_euler
Spatial part of the stress-energy tensor with respect to the Eulerian observer.
Scalar kcar_comp
Part of the scalar generated by beta_auto and beta_comp, i.e.
Scalar s_euler
Trace of the stress scalar in the Eulerian frame.
const Scalar & get_s_euler() const
Returns the trace of the stress tensor in the Eulerian frame.
virtual double mass_g() const =0
Gravitational mass.
double ray_eq_3pis2() const
Coordinate radius at , [r_unit].
virtual void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
Scalar ssjm1_khi
Effective source at the previous step for the resolution of the Poisson equation for khi...
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
virtual ~Hot_star()
Destructor.
double ray_pole() const
Coordinate radius at [r_unit].
double * p_ray_eq
Coordinate radius at , .
Scalar press
Fluid pressure.
const Tbl & xi_surf() const
Description of the stellar surface: returns a 2-D Tbl containing the values of the radial coordinate ...
Vector bsn
3-vector shift, divided by N, of the rotating coordinates, .
virtual void equilibrium_spher(double ent_c, double precis=1.e-14, const Tbl *pent_limit=0x0)
Computes a spherical static configuration.
Scalar psi4
Conformal factor .
Class intended to describe valence-2 symmetric tensors.
virtual void del_deriv() const
Deletes all the derived quantities.
Vector dcon_phi
Contravariant derivative of the logarithm of the conformal factor.
const Scalar & get_press() const
Returns the fluid pressure.
Vector u_euler
Fluid 3-velocity with respect to the Eulerian observer.
Scalar ssjm1_logn
Effective source at the previous step for the resolution of the Poisson equation for logn_auto...