23char bhole_init_kerr_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Bhole/bhole_init_kerr.C,v 1.4 2014/10/13 08:52:40 j_novak Exp $" ;
64 assert (
rayon ==
sqrt (masse*masse-moment*moment)/2.) ;
67 omega = moment/2/masse/(masse+
sqrt(masse*masse-moment*moment)) ;
70 Mtbl grand_r (
mp.get_mg()) ;
71 grand_r =
mp.r + (masse*masse-moment*moment)/4/
mp.r + masse ;
75 sigma = moment*moment*
mp.cost*
mp.cost + grand_r*grand_r ;
79 grand_a = 1 + 2*masse/
mp.r +
80 (3*masse*masse+moment*moment*
mp.cost*
mp.cost)/2/
mp.r/
mp.r
88 n_phi = (2*moment*masse*grand_r) / (sigma*(grand_r*grand_r+moment*moment)
89 + 2*moment*moment*masse*grand_r*
mp.sint*
mp.sint) ;
96 carre = 1-(2*masse*grand_r)/sigma + (4*moment*moment*masse*masse
97 *grand_r*grand_r*
mp.sint*
mp.sint)/
98 (sigma*sigma*(grand_r*grand_r+moment*moment)+2*moment*moment*sigma*masse*
99 grand_r*
mp.sint*
mp.sint) ;
107 n_auto.set().set_dzpuis(0) ;
130 for (
int i=0 ; i<2 ; i++) {
Tenseur psi_auto
Part of generated by the hole.
Tenseur shift_auto
Part of generated by the hole.
double omega
Angular velocity in LORENE's units.
Tenseur n_auto
Part of N generated by the hole.
double rayon
Radius of the horizon in LORENE's units.
Map_af & mp
Affine mapping.
void init_kerr(double masse, double moment)
Set the inital values to those of Kerr.
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
void set_val_hor(double val, int zone)
Sets the value of the Cmp to val on the inner boudary of the shell number zone .This is usefull for d...
Valeur va
The numerical value of the Cmp.
void std_base_scal()
Sets the spectral bases of the Valeur va to the standard ones for a scalar.
void annule(int l)
Sets the Cmp to zero in a given domain.
void set_val_inf(double val)
Sets the value of the Cmp to val at infinity.
void raccord(int n)
Performs the matching of the nucleus with respect to the first shell.
Values and coefficients of a (real-value) function.
const Valeur & mult_st() const
Returns applied to *this.
const Valeur & mult_cp() const
Returns applied to *this.
const Valeur & mult_sp() const
Returns applied to *this.
Cmp sqrt(const Cmp &)
Square root.
Cmp pow(const Cmp &, int)
Power .