28char bin_bhns_extr_global_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Bin_bhns_extr/bin_bhns_extr_global.C,v 1.4 2014/10/13 08:52:42 j_novak Exp $" ;
54#include "bin_bhns_extr.h"
78 if (
star.in_kerrschild()) {
80 const Coord& xx = mp.x ;
81 const Coord& yy = mp.y ;
82 const Coord& zz = mp.z ;
105 Cmp dens = acar() *
sqrt(acar()) * g_euler() * nbary()
123 Cmp dens = acar() *
sqrt(acar()) * g_euler() * nbary() * xxa ;
150 const Map& mp =
star.get_mp() ;
155 if (
star.in_kerrschild()) {
157 const Coord& xx = mp.x ;
158 const Coord& yy = mp.y ;
159 const Coord& zz = mp.z ;
170 Cmp tmp =
sqrt(1. + 2.*msr()) ;
182 Cmp dens = acar() *
sqrt(acar()) * g_euler() * nbary()
201 Cmp dens = acar() *
sqrt(acar()) * g_euler() * nbary() * yya ;
226 if (
star.is_relativistic()) {
230 if (
star.in_kerrschild()) {
232 const Map& mp =
star.get_mp() ;
234 const Coord& xx = mp.x ;
235 const Coord& yy = mp.y ;
236 const Coord& zz = mp.z ;
247 Cmp tmp =
sqrt(1. + 2.*msr()) ;
259 Cmp dens = acar() *
sqrt(acar()) * g_euler() * nbary() * tmp ;
276 Cmp dens = acar() *
sqrt(acar()) * g_euler() * nbary() ;
286 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.