30char binaire_ana_shift_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Binaire/binaire_ana_shift.C,v 1.3 2014/10/13 08:52:44 j_novak Exp $" ;
81 for (
int i=0; i<2; i++) {
111 tmp = - 6 * www / a0 * ( 1 - (mp.
r)*(mp.
r) / (3*a0*a0) ) ;
125 tmp_ext = - 4 * www / mp.
r ;
126 tmp_ext.
annule(0, nzet-1) ;
140 tmp = 2 * www / a0 * (mp.
y) * ( 1 - 3 * (mp.
r)*(mp.
r) / (5*a0*a0) ) ;
142 tmp_ext = 0.8 * www * a0*a0 * (mp.
sint) * (mp.
sinp)
144 tmp_ext.
annule(0, nzet-1) ;
void analytical_shift()
Sets some analytical template for the shift vector (via the members {\tt w_shift} and {\tt khi_shift}...
Etoile_bin * et[2]
Array of the two stars (to perform loops on the stars): {\tt et[0]} contains the address of {\tt star...
double separation() const
Returns the coordinate separation of the two stellar centers [{\tt r_unit}].
Etoile_bin star2
Second star of the system.
double omega
Angular velocity with respect to an asymptotically inertial observer.
Etoile_bin star1
First star of the system.
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
void annule(int l)
Sets the Cmp to zero in a given domain.
Tenseur & set_w_shift()
Read/write of w_shift.
virtual double mass_g() const
Gravitational mass.
Tenseur & set_khi_shift()
Read/write of khi_shift.
int get_nzet() const
Returns the number of domains occupied by the star.
double ray_eq() const
Coordinate radius at , [r_unit].
const Map & get_mp() const
Returns the mapping.
bool is_relativistic() const
Returns true for a relativistic star, false for a Newtonian one.
Base class for coordinate mappings.
Coord y
y coordinate centered on the grid
Coord r
r coordinate centered on the grid
const Mg3d * get_mg() const
Gives the Mg3d on which the mapping is defined.
int get_nzone() const
Returns the number of domains.
Cmp & set()
Read/write for a scalar (see also operator=(const Cmp&) ).
void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
void set_std_base()
Set the standard spectal basis of decomposition for each component.
Standard units of space, time and mass.