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)) ;
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 +
88 n_phi = (2*moment*masse*grand_r) / (sigma*(grand_r*grand_r+moment*moment)
96 carre = 1-(2*masse*grand_r)/sigma + (4*moment*moment*masse*masse
98 (sigma*sigma*(grand_r*grand_r+moment*moment)+2*moment*moment*sigma*masse*
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 mult_r()
Multiplication by r everywhere.
void set_etat_zero()
Sets the logical state to ETATZERO (zero).
void set_dzpuis(int)
Set a value to dzpuis.
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.
Coord r
r coordinate centered on the grid
const Mg3d * get_mg() const
Gives the Mg3d on which the mapping is defined.
Cmp & set()
Read/write for a scalar (see also operator=(const Cmp&) ).
void inc_dzpuis()
dzpuis += 1 ;
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.
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 .