26 #ifndef __BLACKHOLE_H_ 27 #define __BLACKHOLE_H_ 246 virtual void sauve(FILE *)
const ;
253 virtual ostream&
operator>>(ostream& )
const ;
268 virtual double rad_ah()
const ;
271 double spin_am_bh(
bool bclapconf_nd,
bool bclapconf_fs,
272 const Tbl& xi_i,
const double& phi_i,
273 const double& theta_i,
const int& nrk_phi,
274 const int& nrk_theta)
const ;
336 double precis = 1.e-14,
337 double precis_shift = 1.e-8) ;
347 void static_bh(
bool neumann,
bool first) ;
357 double rah_iso(
bool neumann,
bool first)
const ;
381 const int& nrk)
const ;
397 const double& phi,
const int& nrk)
const ;
416 const double& theta_i,
const int& nrk_phi,
417 const int& nrk_theta)
const ;
420 ostream& operator<<(ostream& ,
const Black_hole& ) ;
Map & mp
Mapping associated with the black hole.
virtual double mass_irr() const
Irreducible mass of the black hole.
const Tbl & angu_mom_bh() const
Total angular momentum.
Scalar lapconf_rs
Part of lapconf from the numerical computation.
const Scalar & get_lapse() const
Returns the lapse function generated by the black hole.
double get_mass_bh() const
Returns the gravitational mass of BH [{ m_unit}].
Scalar taij_quad
Part of the scalar generated by .
const Valeur bc_lapconf(bool neumann, bool first) const
Boundary condition on the apparent horizon of the black hole for the lapse function: 2-D Valeur...
const Scalar & get_lapconf() const
Returns lapconf generated by the black hole.
double * p_mass_adm
Irreducible mass of the black hole.
virtual void del_deriv() const
Deletes all the derived quantities.
Sym_tensor taij_rs
Part of the extrinsic curvature tensor.
void extr_curv_bh()
Computes taij , taij_quad from shift , lapse , confo .
virtual void sauve(FILE *) const
Save in a file.
double mass_bh
Gravitational mass of BH.
double * p_mass_kom
ADM mass.
bool is_kerrschild() const
Returns true for a Kerr-Schild background, false for a Conformally flat one.
Flat metric for tensor calculation.
void static_bh(bool neumann, bool first)
Sets the metric quantities to a spherical, static blach-hole analytic solution.
Tensor field of valence 0 (or component of a tensorial field).
bool kerrschild
true for a Kerr-Schild background, false for a conformally flat background
Base class for coordinate mappings.
double rah_iso(bool neumann, bool first) const
Computes a radius of apparent horizon (excised surface) in isotropic coordinates. ...
const Vector & get_shift() const
Returns the shift vector generated by the black hole.
double & set_mass_bh()
Read/write of the gravitational mass of BH [{ m_unit}].
const Vector & get_shift_rs() const
Returns the part of the shift vector from the numerical computation.
friend ostream & operator<<(ostream &, const Black_hole &)
Display.
virtual double mass_adm() const
ADM mass.
Values and coefficients of a (real-value) function.
Scalar taij_quad_rs
Part of the scalar.
void operator=(const Black_hole &)
Assignment to another Black_hole.
Tbl runge_kutta_theta_bh(const Tbl &xi_i, const double &theta_i, const double &phi, const int &nrk) const
Compute a forth-order Runge-Kutta integration to the theta direction for the solution of the Killing ...
Tensor field of valence 1.
Scalar confo
Conformal factor generated by the black hole.
const Scalar & get_lapconf_rs() const
Returns the part of lapconf from the numerical computation.
const Valeur bc_shift_x(double omega_r) const
Boundary condition on the apparent horizon of the black hole for the shift vector of the direction: ...
Map & set_mp()
Read/write of the mapping.
double * p_mass_irr
Conformal metric .
Scalar lapconf_bh
Part of lapconf from the analytic background.
Vector shift_bh
Part of the shift vector from the analytic background.
double * p_rad_ah
Komar mass.
Black_hole(Map &mp_i, bool Kerr_schild, double massbh)
Standard constructor.
Base class for black holes.
void equilibrium_spher(bool neumann, bool first, double spin_omega, double precis=1.e-14, double precis_shift=1.e-8)
Computes a spherical, static black-hole by giving boundary conditions on the apparent horizon...
const Valeur bc_shift_y(double omega_r) const
Boundary condition on the apparent horizon of the black hole for the shift vector of the direction: ...
const Map & get_mp() const
Returns the mapping.
virtual double rad_ah() const
Radius of the apparent horizon.
const Scalar & get_confo() const
Returns the conformal factor generated by the black hole.
Vector shift_rs
Part of the shift vector from the numerical computation.
double * p_spin_am_bh
Radius of the apparent horizon.
const Valeur bc_shift_z() const
Boundary condition on the apparent horizon of the black hole for the shift vector of the direction: ...
virtual ~Black_hole()
Destructor.
virtual double mass_kom() const
Komar mass.
Tbl * p_angu_mom_bh
Spin angular momentum.
Metric_flat flat
Flat metric defined on the mapping (Spherical components with respect to the mapping of the black hol...
Scalar lapse
Lapse function generated by the black hole.
Vector shift
Shift vector generated by the black hole.
Sym_tensor taij
Trace of the extrinsic curvature.
Vector killing_vect_bh(const Tbl &xi_i, const double &phi_i, const double &theta_i, const int &nrk_phi, const int &nrk_theta) const
Compute the Killing vector of a black hole normalized so that its affine length is 2 M_PI...
Tbl runge_kutta_phi_bh(const Tbl &xi_i, const double &phi_i, const int &nrk) const
Compute a forth-order Runge-Kutta integration to the phi direction for the solution of the Killing ve...
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<)
const Scalar r_coord(bool neumann, bool first) const
Expresses the areal radial coordinate by that in spatially isotropic coordinates. ...
Scalar lapconf
A function (lapse function * conformal factor) lapconf generated by the black hole.
double spin_am_bh(bool bclapconf_nd, bool bclapconf_fs, const Tbl &xi_i, const double &phi_i, const double &theta_i, const int &nrk_phi, const int &nrk_theta) const
Spin angular momentum.
void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
const Valeur bc_confo() const
Boundary condition on the apparent horizon of the black hole for the conformal factor: 2-D Valeur...
Class intended to describe valence-2 symmetric tensors.