408 virtual void sauve(FILE* )
const ;
415 virtual ostream&
operator>>(ostream& )
const ;
433 virtual double mass_b()
const ;
434 virtual double mass_g()
const ;
436 virtual double tsw()
const ;
441 virtual double grv2()
const ;
454 virtual double grv3(ostream* ost = 0x0)
const ;
456 virtual double r_circ()
const ;
457 virtual double aplat()
const ;
458 virtual double area()
const ;
461 virtual double z_eqf()
const ;
462 virtual double z_eqb()
const ;
463 virtual double z_pole()
const ;
482 virtual double r_isco(ostream* ost = 0x0)
const ;
485 virtual double f_isco()
const ;
494 virtual double f_eq()
const ;
654 virtual void equilibrium(
double ent_c,
double omega0,
double fact_omega,
655 int nzadapt,
const Tbl& ent_limit,
656 const Itbl& icontrol,
const Tbl& control,
657 double mbar_wanted,
double aexp_mass,
Equation of state base class.
Basic integer array class.
Base class for coordinate mappings.
Tensor field of valence 0 (or component of a tensorial field).
Class for isolated rotating stars.
double * p_angu_mom
Angular momentum.
virtual void display_poly(ostream &) const
Display in polytropic units.
virtual double lspec_isco() const
Angular momentum of a particle on the ISCO.
virtual double mean_radius() const
Mean star radius from the area .
double * p_r_isco
Circumferential radius of the ISCO.
double * p_aplat
Flatening r_pole/r_eq.
double * p_mom_quad
Quadrupole moment.
Scalar ssjm1_tggg
Effective source at the previous step for the resolution of the Poisson equation for tggg .
Sym_tensor tkij
Tensor related to the extrinsic curvature tensor by .
virtual double espec_isco() const
Energy of a particle on the ISCO.
virtual double mom_quad() const
Quadrupole moment.
double * p_z_eqf
Forward redshift factor at equator.
Scalar tggg
Metric potential .
Scalar tnphi
Component of the shift vector.
void fait_shift()
Computes shift from w_shift and khi_shift according to Shibata's prescription [Prog.
virtual ~Star_rot()
Destructor.
virtual double z_pole() const
Redshift factor at North pole.
const Sym_tensor & get_tkij() const
Returns the tensor related to the extrinsic curvature tensor by .
virtual double r_isco(ostream *ost=0x0) const
Circumferential radius of the innermost stable circular orbit (ISCO).
virtual double z_eqb() const
Backward redshift factor at equator.
double unsurc2
: unsurc2=1 for a relativistic star, 0 for a Newtonian one.
const Scalar & get_dzeta() const
Returns the Metric potential .
const Scalar & get_tggg() const
Returns the Metric potential .
void extrinsic_curvature()
Computes tkij and ak_car from shift , nnn and b_car .
Vector w_shift
Vector used in the decomposition of shift , following Shibata's prescription [Prog.
const Vector & get_w_shift() const
Returns the vector used in the decomposition of shift , following Shibata's prescription [Prog.
Scalar b_car
Square of the metric factor B.
void operator=(const Star_rot &)
Assignment to another Star_rot.
double * p_lspec_isco
Specific angular momentum of a particle on the ISCO.
Scalar bbb
Metric factor B.
virtual double mass_b() const
Baryon mass.
virtual void hydro_euler()
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid fram...
virtual double get_omega_c() const
Returns the central value of the rotation angular velocity ([f_unit] )
const Scalar & get_khi_shift() const
Returns the scalar used in the decomposition of shift following Shibata's prescription [Prog.
double omega
Rotation angular velocity ([f_unit] )
const Scalar & get_nuq() const
Returns the Part of the Metric potential = logn generated by the quadratic terms.
virtual double r_circ() const
Circumferential radius.
Scalar uuu
Norm of u_euler.
virtual double z_eqf() const
Forward redshift factor at equator.
const Scalar & get_ak_car() const
Returns the scalar .
Scalar nphi
Metric coefficient .
const Scalar & get_nphi() const
Returns the metric coefficient .
virtual void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
double * p_f_isco
Orbital frequency of the ISCO.
void update_metric()
Computes metric coefficients from known potentials.
virtual double f_isco() const
Orbital frequency at the innermost stable circular orbit (ISCO).
virtual double mass_g() const
Gravitational mass.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
virtual void sauve(FILE *) const
Save in a file.
double * p_area
Integrated surface area.
virtual double aplat() const
Flatening r_pole/r_eq.
double * p_grv3
Error on the virial identity GRV3.
Scalar ssjm1_nuq
Effective source at the previous step for the resolution of the Poisson equation for nuq by means of ...
const Scalar & get_a_car() const
Returns the square of the metric factor A.
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...
double * p_espec_isco
Specific energy of a particle on the ISCO.
const Scalar & get_b_car() const
Returns the square of the metric factor B.
Scalar nuf
Part of the Metric potential = logn generated by the matter terms.
bool is_relativistic() const
Returns true for a relativistic star, false for a Newtonian one.
bool relativistic
Indicator of relativity: true for a relativistic star, false for a Newtonian one.
double * p_f_eq
Orbital frequency at the equator.
Scalar ssjm1_dzeta
Effective source at the previous step for the resolution of the Poisson equation for dzeta .
virtual double tsw() const
Ratio T/W.
virtual void del_hydro_euler()
Sets to ETATNONDEF (undefined state) the hydrodynamical quantities relative to the Eulerian observer.
virtual double grv3(ostream *ost=0x0) const
Error on the virial identity GRV3.
Scalar ssjm1_khi
Effective source at the previous step for the resolution of the Poisson equation for the scalar by m...
Scalar dzeta
Metric potential .
virtual double area() const
Integrated surface area in .
Scalar a_car
Square of the metric factor A.
Scalar ssjm1_nuf
Effective source at the previous step for the resolution of the Poisson equation for nuf by means of ...
Scalar nuq
Part of the Metric potential = logn generated by the quadratic terms.
const Scalar & get_uuu() const
Returns the norm of u_euler.
double * p_grv2
Error on the virial identity GRV2.
virtual void del_deriv() const
Deletes all the derived quantities.
Vector ssjm1_wshift
Effective source at the previous step for the resolution of the vector Poisson equation for .
virtual void equilibrium(double ent_c, double omega0, double fact_omega, int nzadapt, const Tbl &ent_limit, const Itbl &icontrol, const Tbl &control, double mbar_wanted, double aexp_mass, Tbl &diff, Param *=0x0)
Computes an equilibrium configuration.
const Scalar & get_nuf() const
Returns the part of the Metric potential = logn generated by the matter terms.
const Scalar & get_bbb() const
Returns the metric factor B.
double * p_r_circ
Circumferential radius.
virtual double f_eq() const
Orbital frequency at the equator.
virtual double grv2() const
Error on the virial identity GRV2.
virtual double angu_mom() const
Angular momentum.
const Scalar & get_tnphi() const
Returns the component of the shift vector.
double * p_z_eqb
Backward redshift factor at equator.
virtual void partial_display(ostream &) const
Printing of some informations, excluding all global quantities.
double * p_z_pole
Redshift factor at North pole.
Scalar khi_shift
Scalar used in the decomposition of shift , following Shibata's prescription [Prog.
static double lambda_grv2(const Scalar &sou_m, const Scalar &sou_q)
Computes the coefficient which ensures that the GRV2 virial identity is satisfied.
void fait_nphi()
Computes tnphi and nphi from the Cartesian components of the shift, stored in shift .
Class intended to describe valence-2 symmetric tensors.
Tensor field of valence 1.