23 char 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++) {
const Valeur & mult_cp() const
Returns applied to *this.
Map_af & mp
Affine mapping.
Values and coefficients of a (real-value) function.
Tenseur shift_auto
Part of generated by the hole.
void inc_dzpuis()
dzpuis += 1 ;
Cmp & set()
Read/write for a scalar (see also operator=(const Cmp&) ).
double rayon
Radius of the horizon in LORENE's units.
Valeur va
The numerical value of the Cmp
const Mg3d * get_mg() const
Gives the Mg3d on which the mapping is defined.
Coord r
r coordinate centered on the grid
void set_etat_zero()
Sets the logical state to ETATZERO (zero).
Cmp pow(const Cmp &, int)
Power .
const Valeur & mult_sp() const
Returns applied to *this.
void annule(int l)
Sets the Cmp to zero in a given domain.
void mult_r()
Multiplication by r everywhere.
const Valeur & mult_st() const
Returns applied to *this.
Tenseur n_auto
Part of N generated by the hole.
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
void set_val_inf(double val)
Sets the value of the Cmp to val at infinity.
void init_kerr(double masse, double moment)
Set the inital values to those of Kerr.
Cmp sqrt(const Cmp &)
Square root.
void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
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...
Tenseur psi_auto
Part of generated by the hole.
void raccord(int n)
Performs the matching of the nucleus with respect to the first shell.
double omega
Angular velocity in LORENE's units.
void std_base_scal()
Sets the spectral bases of the Valeur va to the standard ones for a scalar.
void set_dzpuis(int)
Set a value to dzpuis.
void set_std_base()
Set the standard spectal basis of decomposition for each component.