26 #ifndef __HOLE_BHNS_H_ 27 #define __HOLE_BHNS_H_ 48 #include "blackhole.h" 246 mutable double* p_mass_irr_bhns ;
502 virtual void sauve(FILE *)
const ;
506 virtual ostream&
operator>>(ostream& )
const ;
516 const double& theta_i,
const int& nrk_phi,
517 const int& nrk_theta)
const ;
549 double y_rot)
const ;
585 void extr_curv_bhns(
double omega_orb,
double x_rot,
double y_rot) ;
610 int filter_r,
int filter_r_s,
int filter_p_s,
611 double x_rot,
double y_rot,
double precis,
612 double omega_orb,
double resize_bh,
613 const Tbl& fact_resize,
Tbl& diff) ;
626 double relax_met,
int mer,
int fmer_met) ;
640 const int& nrk)
const ;
656 const double& phi,
const int& nrk)
const ;
675 const double& theta_i,
const int& nrk_phi,
676 const int& nrk_theta)
const ;
Sym_tensor taij_auto
Part of the extrinsic curvature tensor generated by the black hole.
Scalar lapconf_auto_bh
Part of the lapconf function from the analytic background.
const Scalar & get_lapse_tot() const
Returns the total lapse function.
Class for stars in black hole-neutron star binaries.
Vector & set_shift_comp()
Read/write of the shift vector generated by the companion star.
Scalar taij_quad_comp
Part of the scalar from the companion star.
const Valeur bc_shift_z() const
Boundary condition on the apparent horizon of the black hole for the shift vector of the direction: ...
void operator=(const Hole_bhns &)
Assignment to another Hole_bhns.
const Scalar & get_confo_auto() const
Returns the part of the conformal factor generated by the black hole.
Vector d_confo_auto
Derivative of the conformal factor generated by the black hole.
const Vector & get_d_confo_auto_rs() const
Returns the derivative of the conformal factor generated by the black hole.
const Scalar & get_lapconf_tot() const
Returns the total lapconf function.
double & set_omega_spin()
Sets the spin angular velocity of the black hole [{ f_unit}].
Sym_tensor taij_tot_rot
Part of the extrinsic curvature tensor from the rotation shift vector.
void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
Scalar confo_auto
Conformal factor generated by the black hole.
Sym_tensor taij_tot_bh
Part of the extrinsic curvature tensor from the analytic background.
const Tensor & get_d_shift_auto_rs() const
Returns the derivative of the shift vector generated by the black hole.
double get_omega_spin() const
Returns the spin angular velocity of the black hole [{ f_unit}].
Scalar & set_confo_tot()
Read/write of the total conformal factor.
Tensor field of valence 0 (or component of a tensorial field).
Vector d_lapconf_auto_bh
Derivative of the part of the lapconf function from the analytic background.
Base class for coordinate mappings.
Vector shift_auto
Shift vector generated by the black hole.
Scalar & set_lapse_tot()
Read/write of the total lapse function.
Vector d_lapconf_auto
Derivative of the lapconf function generated by the black hole.
Tensor d_shift_auto
Derivative of the shift vector generated by the black hole.
bool has_bc_lapconf_fs() const
Returns true for the first type BC for the lapconf function, false for the second type BH...
Sym_tensor taij_comp
Part of the extrinsic curvature tensor generated by the companion star.
const Tensor & get_d_shift_auto() const
Returns the derivative of the shift vector generated by the black hole.
Vector shift_tot
Total shift vector ;.
Vector & set_shift_auto_rs()
Read/write of the shift vector generated by the black hole.
const Scalar & get_confo_comp() const
Returns the part of the conformal factor generated by the companion star.
Tbl runge_kutta_theta(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 ...
bool has_bc_lapconf_nd() const
Returns true for the Neumann type BC for the lapconf function, false for the Dirichlet type BH...
Scalar & set_confo_comp()
Read/write of the conformal factor generated by the companion star.
Values and coefficients of a (real-value) function.
bool irrotational
true for an irrotational black hole, false for a corotating one
Tensor d_shift_comp
Derivative of the shift vector generated by the companion star.
void relax_bhns(const Hole_bhns &hole_prev, double relax_met, int mer, int fmer_met)
Performs a relaxation on lapse_auto , shift_auto , confo_auto .
const Sym_tensor & get_taij_tot_rs() const
Returns the part of rs of the extrinsic curvature tensor.
Tensor field of valence 1.
Scalar & set_confo_auto_bh()
Read/write of the conformal factor generated by the black hole.
Sym_tensor taij_auto_rs
Part of the extrinsic curvature tensor numericalty computed for the black hole.
double * p_spin_am_bhns
Irreducible mass of BH.
Scalar lapconf_comp
Lapconf function generated by the companion star.
const Valeur bc_shift_x(double ome_orb, double y_rot) const
Boundary condition on the apparent horizon of the black hole for the shift vector of the direction: ...
const Sym_tensor & get_taij_auto() const
Returns the part of the extrinsic curvature tensor generated by the black hole.
Hole_bhns(Map &mp_i, bool kerrschild_i, bool bc_lapconf_nd, bool bc_lapconf_fs, bool irrotational, double massbh)
Standard constructor.
Tensor d_shift_auto_bh
Derivative of the part of the shift vector from the analytic background.
Scalar & set_lapse_auto()
Read/write of the lapse function generated by the black hole.
Vector & set_shift_auto()
Read/write of the shift vector generated by the black hole.
const Valeur bc_shift_y(double ome_orb, double x_rot) const
Boundary condition on the apparent horizon of the black hole for the shift vector of the direction: ...
Scalar confo_auto_rs
Part of the conformal factor from the numerical computation.
Scalar lapse_tot
Total lapse function.
const Scalar & get_lapconf_comp() const
Returns the part of the lapconf function generated by the companion star.
Vector d_lapconf_comp
Derivative of the lapconf function generated by the companion star.
Scalar lapse_auto
Lapse function of the "black hole" part.
Vector shift_auto_bh
Part of the shift vector from the analytic background.
Scalar & set_lapconf_auto_rs()
Read/write of the lapconf function generated by the black hole.
const Scalar & get_taij_quad_tot_rot() const
Returns the part of rot.
virtual void sauve(FILE *) const
Save in a file.
Scalar confo_comp
Conformal factor generated by the companion star.
Vector & set_shift_tot()
Read/write of the total shift vector.
Vector killing_vect(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...
const Scalar & get_lapconf_auto() const
Returns the part of the lapconf function generated by the black hole.
Scalar taij_quad_auto
Part of the scalar from the black hole.
const Scalar & get_lapse_auto() const
Returns the part of the lapse function generated by the black hole.
const Vector & get_shift_auto_rs() const
Returns the part of the shift vector from numerical computation.
Vector shift_auto_rs
Part of the shift vector from the numerical computation.
bool is_irrotational() const
Returns true for an irrotational black hole, false for a corotating one.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<)
Base class for black holes.
const Sym_tensor & get_taij_tot() const
Returns the total extrinsic curvature tensor.
Vector shift_comp
Shift vector generated by the companion star.
Scalar & set_confo_auto()
Read/write of the conformal factor generated by the black hole.
const Scalar & get_taij_quad_tot_rs() const
Returns the part of rs.
Vector & set_shift_auto_bh()
Read/write of the shift vector generated by the black hole.
Scalar & set_lapconf_comp()
Read/write of the lapconf function generated by the companion star.
const Sym_tensor & get_taij_comp() const
Returns the part of the extrinsic curvature tensor generated by the companion star.
Vector d_lapconf_auto_rs
Derivative of the part of the lapconf function from the numerical computation.
Tensor d_shift_auto_rs
Derivative of the part of the shift vector from the numerical computation.
Vector d_confo_auto_bh
Derivative of the part of the conformal factor from the analytic background.
const Vector & get_shift_auto() const
Returns the part of the shift vector generated by the black hole.
Class for black holes in black hole-neutron star binaries.
const Scalar & get_taij_quad_auto() const
Returns the part of rs generated by the black hole.
Sym_tensor taij_tot
Total extrinsic curvature tensor generated by shift_tot , lapse_tot , and confo_tot ...
Scalar lapconf_auto
Lapconf function generated by the black hole.
Tbl runge_kutta_phi(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...
const Scalar & get_confo_tot() const
Returns the total conformal factor.
Scalar confo_tot
Total conformal factor.
const Vector & get_d_lapconf_comp() const
Returns the derivative of the lapconf function generated by the companion star.
Scalar & set_lapconf_auto()
Read/write of the lapconf function generated by the black hole.
const Scalar & get_confo_auto_rs() const
Returns the part of the conformal factor from numerical computation.
const Vector & get_d_confo_auto() const
Returns the derivative of the conformal factor generated by the black hole.
Scalar taij_quad_tot
Total scalar generated by .
double omega_spin
Spin angular velocity of the black hole.
Vector d_confo_comp
Derivative of the conformal factor generated by the companion star.
Sym_tensor taij_tot_rs
Part of the extrinsic curvature tensor from the numerical computation.
Scalar taij_quad_tot_rot
Part of the scalar from the rotation shift vector.
const Scalar & get_taij_quad_comp() const
Returns the part of rs generated by the companion star.
Scalar lapconf_auto_rs
Part of the lapconf function from the numerical computation.
virtual double mass_irr_bhns() const
Irreducible mass of the black hole.
bool bc_lapconf_fs
true for the first type BC for the lapconf function, false for the second type BH ...
Class for computing a black hole - neutron star binary system with comparable mass () ...
Vector d_confo_auto_rs
Derivative of the part of the conformal factor from the numerical computation.
Scalar & set_lapconf_tot()
Read/write of the total lapconf function.
const Vector & get_shift_tot() const
Returns the total shift vector.
const Sym_tensor & get_taij_auto_rs() const
Returns the part of rs of the extrinsic curvature tensor generated by the black hole.
bool bc_lapconf_nd
true for the Neumann type BC for the lapconf function, false for the Dirichlet type BH ...
void extr_curv_bhns(double omega_orb, double x_rot, double y_rot)
Computes taij_tot , taij_quad_tot from shift_tot , lapse_tot , confo_tot .
Scalar & set_confo_auto_rs()
Read/write of the conformal factor generated by the black hole.
const Vector & get_d_lapconf_auto() const
Returns the derivative of the lapconf function generated by the black hole.
double spin_am_bhns(const Tbl &xi_i, const double &phi_i, const double &theta_i, const int &nrk_phi, const int &nrk_theta) const
Spin angular momentum of the black hole.
void update_metric_bhns(const Star_bhns &star, const Hole_bhns &hole_prev, double relax)
Computes metric coefficients from known potentials with relaxation when the companion is a black hole...
Scalar taij_quad_tot_bh
Part of the scalar from the analytic background.
const Vector & get_d_lapconf_auto_rs() const
Returns the derivative of the lapconf function generated by the black hole.
const Scalar & get_lapconf_auto_rs() const
Returns the part of the lapconf function from numerical computation.
const Vector & get_shift_comp() const
Returns the part of the shift vector generated by the companion star.
const Scalar & get_taij_quad_tot() const
Returns the total scalar .
const Valeur bc_lapconf() const
Boundary condition on the apparent horizon of the black hole for the lapconf function: 2-D Valeur...
virtual ~Hole_bhns()
Destructor.
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.
Scalar & set_lapconf_auto_bh()
Read/write of the lapconf function generated by the black hole.
const Vector & get_d_confo_comp() const
Returns the derivative of the conformal factor generated by the companion star.
virtual void del_deriv() const
Deletes all the derived quantities.
Scalar lapconf_tot
Total lapconf function.
Scalar taij_quad_tot_rs
Part of the scalar from the numerical computation.
void update_met_der_comp_bhns(const Star_bhns &star)
Computes derivative of metric quantities from the companion neutron star.
void equilibrium_bhns(int mer, int mermax_bh, int filter_r, int filter_r_s, int filter_p_s, double x_rot, double y_rot, double precis, double omega_orb, double resize_bh, const Tbl &fact_resize, Tbl &diff)
Computes a black-hole part in a black hole-neutron star binary by giving boundary conditions on the a...
const Tensor & get_d_shift_comp() const
Returns the derivative of the shift vector generated by the companion star.
Scalar confo_auto_bh
Part of the conformal factor from the analytic background.