58 #include "star_bhns.h" 59 #include "hole_bhns.h" 60 #include "utilitaires.h" 65 double relax_met_comp) {
127 double relax_met_comp_jm1 = 1. - relax_met_comp ;
133 + relax_met_comp_jm1 * (star_prev.
shift_comp) ;
136 + relax_met_comp_jm1 * (star_prev.
confo_comp) ;
165 for (
int i=1; i<=3; i++)
171 for (
int i=1; i<=3; i++) {
172 for (
int j=1; j<=3; j++) {
180 for (
int i=1; i<=3; i++)
Scalar psi4
Fourth power of the total conformal factor.
Vector d_lapconf_auto
Derivative of the lapconf function generated by the star .
Vector shift_tot
Total shift vector.
Scalar lapconf_tot
Total lapconf function.
Class for stars in black hole-neutron star binaries.
virtual void set_etat_qcq()
Sets the logical state of all components to ETATQCQ (ordinary state).
Map & mp
Mapping associated with the star.
const Scalar & get_confo_auto() const
Returns the part of the conformal factor generated by the black hole.
virtual void del_deriv() const
Deletes all the derived quantities.
virtual void set_etat_zero()
Sets the logical state to ETATZERO (zero).
Base class for coordinate mappings.
virtual void std_spectral_base()
Sets the spectral bases of the Valeur va to the standard ones for a scalar field. ...
virtual void change_triad(const Base_vect &)
Sets a new vectorial basis (triad) of decomposition and modifies the components accordingly.
Vector shift_auto
Shift vector generated by the star.
Tensor d_shift_auto
Derivative of the shift vector generated by the star .
virtual void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
Tensor field of valence 1.
Scalar lapse_tot
Total lapse function.
virtual void std_spectral_base()
Sets the standard spectal bases of decomposition for each component.
Scalar confo_tot
Total conformal factor.
const Base_vect * get_triad() const
Returns the vectorial basis (triad) on which the components are defined.
const Scalar & get_lapconf_auto() const
Returns the part of the lapconf function generated by the black hole.
const Map & get_mp() const
Returns the mapping.
Scalar lapconf_comp
Lapconf function generated by the companion black hole.
const Scalar & deriv(int i) const
Returns of *this , where .
Cmp pow(const Cmp &, int)
Power .
Vector shift_comp
Shift vector generated by the companion black hole.
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.
void update_metric_bhns(const Hole_bhns &hole, const Star_bhns &star_prev, double relax)
Computes metric coefficients from known potentials with relaxation when the companion is a black hole...
void import(const Scalar &ci)
Assignment to another Scalar defined on a different mapping.
Scalar lapconf_auto
Lapconf function generated by the star.
const Base_vect_cart & get_bvect_cart() const
Returns the Cartesian basis associated with the coordinates (x,y,z) of the mapping, i.e.
Scalar & set(const Itbl &ind)
Returns the value of a component (read/write version).
Vector d_confo_auto
Derivative of the conformal factor generated by the star .
Scalar confo_auto
Conformal factor generated by the star.
Scalar confo_comp
Conformal factor generated by the companion black hole.
void set_triad(const Base_vect &new_triad)
Assigns a new vectorial basis (triad) of decomposition.
virtual void set_etat_zero()
Sets the logical state of all components to ETATZERO (zero state).
Scalar & set(int)
Read/write access to a component.
Scalar lapse_auto
Lapse function generated by the "star".
virtual void std_spectral_base()
Sets the standard spectal bases of decomposition for each component.