48 #include "binary_xcts.h" 61 double compact = ggrav * mtot / rr ;
72 omega2 = ggrav * mtot /
pow(rr, 3)
73 * (1. - 2.75 * compact + 8.625 * compact*compact ) ;
85 double ired = double(5)/double(3) * ( 1. - double(6) / M_PI / M_PI ) ;
86 omega2 = ggrav * mtot /
pow(rr, 3)
87 * (1. - compact * ( 2.75 + 2.*a0sr*a0sr * ired
88 - 0.48*
pow(a0sr, 4) * ired*ired )
89 + compact*compact * ( 8.625 + 2.75*a0sr*a0sr * ired
90 + 2.*
pow(a0sr, 4) * ired*ired ) ) ;
Cmp sqrt(const Cmp &)
Square root.
Standard units of space, time and mass.
double separation() const
Returns the coordinate separation of the two stellar centers [r_unit].
bool is_irrotational() const
Returns true for an irrotational motion, false for a corotating one.
Star_bin_xcts star2
Second star of the system.
virtual double mass_g() const
Gravitational mass.
double omega
Angular velocity with respect to an asymptotically inertial observer.
Cmp pow(const Cmp &, int)
Power .
void analytical_omega()
Sets the orbital angular velocity to some 2-PN analytical value (Keplerian value in the Newtonian cas...
Star_bin_xcts star1
First star of the system.
void del_deriv() const
Deletes all the derived quantities.
double ray_eq() const
Coordinate radius at , [r_unit].