57#include "bin_bhns_extr.h"
81 if (
star.in_kerrschild()) {
83 const Coord& xx = mp.x ;
84 const Coord& yy = mp.y ;
85 const Coord& zz = mp.z ;
108 Cmp dens = acar() *
sqrt(acar()) * g_euler() * nbary()
126 Cmp dens = acar() *
sqrt(acar()) * g_euler() * nbary() * xxa ;
153 const Map& mp =
star.get_mp() ;
158 if (
star.in_kerrschild()) {
160 const Coord& xx = mp.x ;
161 const Coord& yy = mp.y ;
162 const Coord& zz = mp.z ;
173 Cmp tmp =
sqrt(1. + 2.*msr()) ;
185 Cmp dens = acar() *
sqrt(acar()) * g_euler() * nbary()
204 Cmp dens = acar() *
sqrt(acar()) * g_euler() * nbary() * yya ;
229 if (
star.is_relativistic()) {
233 if (
star.in_kerrschild()) {
235 const Map& mp =
star.get_mp() ;
237 const Coord& xx = mp.x ;
238 const Coord& yy = mp.y ;
239 const Coord& zz = mp.z ;
250 Cmp tmp =
sqrt(1. + 2.*msr()) ;
262 Cmp dens = acar() *
sqrt(acar()) * g_euler() * nbary() * tmp ;
279 Cmp dens = acar() *
sqrt(acar()) * g_euler() * nbary() ;
289 cout <<
"BH-NS binary system should be relativistic!!!" << endl ;
double * p_ya_barycenter_extr
Absolute coordinate Y of the barycenter of the baryon density in the Kerr-Schild background metric.
double * p_mass_b_extr
Baryon mass of the neutron star in the Kerr-Schild background metric or in the conformally flat one.
double ya_barycenter_extr() const
in the Kerr-Schild background metric
double mass_b_extr() const
Baryon mass of the neutron star in the Kerr-Schild background metric or in the conformally flat.
Et_bin_bhns_extr star
Neutron star.
double separ
Absolute orbital separation between two centers of BH and NS.
double mass_bh
Gravitational mass of BH.
double xa_barycenter_extr() const
Absolute coordinate X of the barycenter of the baryon density in the Kerr-Schild background metric or...
double * p_xa_barycenter_extr
Absolute coordinate X of the barycenter of the baryon density in the Kerr-Schild background metric or...
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
void std_base_scal()
Sets the spectral bases of the Valeur va to the standard ones for a scalar.
double integrale() const
Computes the integral over all space of *this .
Active physical coordinates and mapping derivatives.
Tensor handling *** DEPRECATED : use class Tensor instead ***.
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.
Cmp sqrt(const Cmp &)
Square root.
Cmp pow(const Cmp &, int)
Power .
Map(const Mg3d &)
Constructor from a multi-domain 3D grid.
Standard units of space, time and mass.