28 char star_bhns_global_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Star_bhns/star_bhns_global.C,v 1.3 2014/10/13 08:53:40 j_novak Exp $" ;
54 #include "star_bhns.h" 56 #include "utilitaires.h" 86 double Star_bhns::mass_b_bhns(
bool kerrschild,
const double& mass_bh,
87 const double& sepa)
const {
110 rr =
sqrt( (xx+sepa)*(xx+sepa) + (yy+yns)*(yy+yns) + zz*zz ) ;
113 tmp =
sqrt(1. + 2.*ggrav*mass_bh/rr) ;
140 cout <<
"Star_bhns::mass_g() is not available !!!" << endl
141 <<
" --> Use Star_bhns::mass_g_bhns()" 147 double Star_bhns::mass_g_bhns()
const {
double * p_mass_b
Baryon mass.
Scalar lapconf_tot
Total lapconf function.
double * p_mass_g_bhns
Gravitational mass.
Map & mp
Mapping associated with the star.
Cmp sqrt(const Cmp &)
Square root.
double get_ori_y() const
Returns the y coordinate of the origin.
Standard units of space, time and mass.
Tensor field of valence 0 (or component of a tensorial field).
double integrale() const
Computes the integral over all space of *this .
double * p_mass_b_bhns
Baryon mass.
virtual void std_spectral_base()
Sets the spectral bases of the Valeur va to the standard ones for a scalar field. ...
Scalar nbar
Baryon density in the fluid frame.
Scalar s_euler
Trace of the stress scalar in the Eulerian frame.
Scalar confo_tot
Total conformal factor.
Scalar gam_euler
Lorentz factor between the fluid and Eulerian observers.
Cmp pow(const Cmp &, int)
Power .
Coord y
y coordinate centered on the grid
Coord x
x coordinate centered on the grid
virtual double mass_g() const
Gravitational mass.
Coord z
z coordinate centered on the grid
Scalar ener_euler
Total energy density in the Eulerian frame.
virtual double mass_b() const
Baryon mass.