58 #include "bin_ns_bh.h" 106 tmp = -6. * www / a0 * ( 1. - (mp.
r)*(mp.
r) / (3.*a0*a0) ) ;
109 tmp_ext = -4. * www / mp.
r ;
110 tmp_ext.
annule(0, nzet-1) ;
124 tmp = 2. * www / a0 * (mp.
y) * ( 1. - 3.*(mp.
r)*(mp.
r) / (5.*a0*a0) ) ;
126 tmp_ext = 0.8 * www * a0 * a0 * (mp.
sint) * (mp.
sinp) / ((mp.
r)*(mp.
r)) ;
127 tmp_ext.annule(0, nzet-1) ;
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
const Map & get_mp() const
Returns the mapping.
void annule(int l)
Sets the Cmp to zero in a given domain.
void set_std_base()
Set the standard spectal basis of decomposition for each component.
Standard units of space, time and mass.
const Mg3d * get_mg() const
Gives the Mg3d on which the mapping is defined.
double ray_eq() const
Coordinate radius at , [r_unit].
Base class for coordinate mappings.
int get_nzet() const
Returns the number of domains occupied by the star.
virtual double mass_g() const
Gravitational mass.
Cmp & set()
Read/write for a scalar (see also operator=(const Cmp&) ).
void analytical_shift()
Sets some analytical template for the shift vector (via the members { w_shift} and { khi_shift} of th...
Et_bin_nsbh star
The neutron star.
int get_nzone() const
Returns the number of domains.
Tenseur & set_w_shift()
Read/write of w_shift.
double omega
Angular velocity with respect to an asymptotically inertial observer.
Coord y
y coordinate centered on the grid
Bhole hole
The black hole.
void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
double masse_adm_seul() const
Calculates the ADM mass of the black hole using : .
double separation() const
Return the separation.
Tenseur & set_khi_shift()
Read/write of khi_shift.
bool is_relativistic() const
Returns true for a relativistic star, false for a Newtonian one.
Coord r
r coordinate centered on the grid