23char bhole_solve_phi_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Bhole_binaire/bhole_solve_phi.C,v 1.4 2014/10/13 08:52:40 j_novak Exp $" ;
69#include "utilitaires.h"
110 assert ((relax>0) && (relax<=1)) ;
112 cout <<
"-----------------------------------------------" << endl ;
113 cout <<
"Resolution PSI" << endl ;
120 hole1.psi_auto.gradient())()) ;
124 hole2.psi_auto.gradient())()) ;
129 lim_un = -0.5/
hole1.rayon ;
133 lim_deux = -0.5/
hole2.rayon ;
137 neumann_binaire (source_un, source_deux, lim_un, lim_deux,
138 hole1.psi_auto.set(),
hole2.psi_auto.set(), 0, precision) ;
140 hole1.psi_auto.set().raccord(1) ;
141 hole2.psi_auto.set().raccord(1) ;
144 cout <<
diffrelmax (source_un,
hole1.psi_auto().laplacien(4)) << endl ;
145 cout <<
diffrelmax (source_deux,
hole2.psi_auto().laplacien(4)) << endl ;
148 hole1.psi_auto.set() = relax*
hole1.psi_auto() + (1-relax)*psi_un_old() ;
149 hole2.psi_auto.set() = relax*
hole2.psi_auto() + (1-relax)*psi_deux_old() ;
157 hole1.init_bhole_phi() ;
158 hole2.init_bhole_phi() ;
Bhole hole1
Black hole one.
void set_omega(double ome)
Sets the orbital velocity to ome.
void solve_phi(double precision, double relax)
Solve the equation for the logarithm of .
Bhole hole2
Black hole two.
void init_phi()
Initiates the system for a resolution using the logarithm of .
Tenseur psi_auto
Part of generated by the hole.
Tenseur shift_auto
Part of generated by the hole.
Tenseur psi_comp
Part of generated by the companion hole.
Tenseur_sym tkij_auto
Auto .
void init_bhole_phi()
Initiates the black hole for a resolution with .
Tenseur grad_psi_tot
Total gradient of .
Tenseur_sym taij_auto
Part of generated by the hole.
Tenseur grad_n_tot
Total gradient of N .
Tenseur n_auto
Part of N generated by the hole.
Tenseur_sym taij_comp
Part of generated by the companion hole.
double rayon
Radius of the horizon in LORENE's units.
Tenseur n_comp
Part of N generated by the companion hole.
Map_af & mp
Affine mapping.
Tenseur_sym taij_tot
Total , which must be zero on the horizon of the regularisation on the shift has been done.
Tenseur_sym tkij_tot
Total .
Cmp decouple
Function used to construct the part of generated by the hole from the total .
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
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_dzpuis(int)
Set a value to dzpuis.
Tensor handling *** DEPRECATED : use class Tensor instead ***.
Values and coefficients of a (real-value) function.
void std_base_scal()
Sets the bases for spectral expansions (member base ) to the standard ones for a scalar.
Tbl diffrelmax(const Cmp &a, const Cmp &b)
Relative difference between two Cmp (max version).
Cmp log(const Cmp &)
Neperian logarithm.
Tenseur flat_scalar_prod(const Tenseur &t1, const Tenseur &t2)
Scalar product of two Tenseur when the metric is : performs the contraction of the last index of t1 w...