78 double hh =
sqrt(mm2-aa2) ;
80 double r_hor = hh / double(2) ;
86 Mtbl cost2 = cost*cost ;
87 Mtbl sint2 = sint*sint ;
90 a_car = 1 + 2*
mm/r + (3*mm2 + aa2*(2*cost2-1))/(2*r2) + hh2*
mm/(2*r*r2) +
96 Mtbl rBL = r + hh2/(4*r) +
mm ;
98 Mtbl sigma = rBL2 + aa2*cost2 ;
99 Mtbl rBLovr = 1 +
mm/r + r_hor*r_hor/r2 ;
102 b_car = rBLovr * ( rBLovr + 2*aa2*
mm*sint2 / (r*sigma) ) + aa2 / r2 ;
109 nn = (1 - r_hor*r_hor / r2) /
bbb ;
114 nphi = 2*
aa*
mm / (sigma*(rBL+aa2/rBL) + 2*aa2*
mm*sint2) ;
215 ost << endl <<
"Kerr spacetime in quasi-isotropic coordinates (class Kerr_QI) " << endl ;
217 ost <<
"M = " <<
mm <<
" a = " <<
aa << endl ;
Base class for axisymmetric stationary compact objects in Quasi-Isotropic coordinates (under developm...
virtual void sauve(FILE *) const
Save in a file.
Cmp sqrt(const Cmp &)
Square root.
Kerr spacetime in Quasi-Isotropic coordinates (under development).
Standard units of space, time and mass.
Base class for coordinate mappings.
virtual void std_spectral_base()
Sets the spectral bases of the Valeur va to the standard ones for a scalar field. ...
int get_etat() const
Returns the logical state ETATNONDEF (undefined), ETATZERO (null) or ETATQCQ (ordinary).
void operator=(const Kerr_QI &)
Assignment to another Kerr_QI.
Scalar a_car
Square of the metric factor A.
Tbl & set_domain(int l)
Read/write of the value in a given domain.
Scalar nphi
Metric coefficient .
Scalar b_car
Square of the metric factor B.
Scalar bbb
Metric factor B.
void operator=(const Compobj_QI &)
Assignment to another Compobj_QI.
Active physical coordinates and mapping derivatives.
virtual void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
Kerr_QI(Map &mp_i, double mass, double a_over_m)
Standard constructor.
virtual void del_deriv() const
Deletes all the derived quantities.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Scalar nn
Lapse function N .
virtual ~Kerr_QI()
Destructor.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
double aa
angular momentum parameter
virtual void del_deriv() const
Deletes all the derived quantities.
Map & mp
Mapping describing the coordinate system (r,theta,phi)
Coord r
r coordinate centered on the grid