186 Map& mp2,
int nzet2,
const Eos& eos2,
int irrot2,
224 { assert( (i==1) || (i==2) );
240 { assert( (i==1) || (i==2) );
257 void sauve(FILE *)
const ;
368 void orbit(
double fact_omeg_min,
double fact_omeg_max,
double& xgg1,
401 void orbit_eqmass(
double fact_omeg_min,
double fact_omeg_max,
402 double mass1,
double mass2,
403 double& xgg1,
double& xgg2) ;
417ostream& operator<<(ostream& ,
const Binaire& ) ;
Cartesian vectorial bases (triads).
void write_global(ostream &) const
Write global quantities in a formatted file.
double * p_ham_constr
Relative error on the Hamiltonian constraint.
Tbl * p_angu_mom
Total angular momentum of the system.
void analytical_shift()
Sets some analytical template for the shift vector (via the members {\tt w_shift} and {\tt khi_shift}...
double * p_virial_gb
Virial theorem error by E.Gourgoulhon and S.Bonazzola.
double mass_adm() const
Total ADM mass.
void set_der_0x0() const
Sets to {\tt 0x0} all the pointers on derived quantities.
void analytical_omega()
Sets the orbital angular velocity to some 2-PN analytical value (Keplerian value in the Newtonian cas...
double virial_gb() const
Estimates the relative error on the virial theorem calculated by E.Gourgoulhon and S....
Etoile_bin * et[2]
Array of the two stars (to perform loops on the stars): {\tt et[0]} contains the address of {\tt star...
const Tbl & angu_mom() const
Total angular momentum.
double * p_mass_adm
Total ADM mass of the system.
double separation() const
Returns the coordinate separation of the two stellar centers [{\tt r_unit}].
void del_deriv() const
Destructor.
friend ostream & operator<<(ostream &, const Binaire &)
Save in a file.
double * p_total_ener
Total energy of the system.
double * p_virial
Virial theorem error.
Tbl * p_mom_constr
Relative error on the momentum constraint.
double & set_omega()
Sets the orbital angular velocity [{\tt f_unit}].
void orbit_eqmass(double fact_omeg_min, double fact_omeg_max, double mass1, double mass2, double &xgg1, double &xgg2)
Computes the orbital angular velocity {\tt omega} and the position of the rotation axis {\tt x_axe}.
double get_omega() const
Returns the orbital angular velocity [{\tt f_unit}].
const Etoile_bin & operator()(int i) const
Returns a reference to the star no. i.
Etoile_bin star2
Second star of the system.
double mass_kom() const
Total Komar mass.
double * p_mass_kom
Total Komar mass of the system.
const Base_vect_cart ref_triad
Cartesian triad of the absolute reference frame.
double virial() const
Estimates the relative error on the virial theorem (for a relativistic one, it returns $|1 - M_{\rm K...
void display_poly(ostream &) const
Display in polytropic units.
const Tbl & mom_constr() const
Estimates the relative error on the momentum constraint equation by comparing ${\overline\nabla}_j K^...
double & set_x_axe()
Sets the absolute coordinate X of the rotation axis [{\tt r_unit}].
double omega
Angular velocity with respect to an asymptotically inertial observer.
double * p_virial_fus
Virial theorem error by J.L.Friedman, K.Uryu, and M.Shibata.
void operator=(const Binaire &)
Assignment to another {\tt Binaire}.
double get_x_axe() const
Returns the absolute coordinate X of the rotation axis [{\tt r_unit}].
Etoile_bin star1
First star of the system.
void orbit(double fact_omeg_min, double fact_omeg_max, double &xgg1, double &xgg2)
Computes the orbital angular velocity {\tt omega} and the position of the rotation axis {\tt x_axe}.
double total_ener() const
Total energy (excluding the rest mass energy).
ostream & operator>>(ostream &) const
Operator >> (function called by the operator <<).
double virial_fus() const
Estimates the relative error on the virial theorem calculated by J.L.Friedman, K.Uryu,...
Etoile_bin & set(int i)
Read/write of the star no. i.
double x_axe
Absolute X coordinate of the rotation axis.
double ham_constr() const
Estimates the relative error on the Hamiltonian constraint equation by comparing $\underline\Delta\ln...
Equation of state base class.
Class for stars in binary system.
Base class for coordinate mappings.