29char star_bhns_upmetr_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Star_bhns/star_bhns_upmetr.C,v 1.3 2014/10/13 08:53:41 j_novak Exp $" ;
57#include "utilitaires.h"
62 double relax_met_comp) {
124 double relax_met_comp_jm1 = 1. - relax_met_comp ;
130 + relax_met_comp_jm1 * (star_prev.
shift_comp) ;
133 + relax_met_comp_jm1 * (star_prev.
confo_comp) ;
149 psi4.std_spectral_base() ;
162 for (
int i=1; i<=3; i++)
168 for (
int i=1; i<=3; i++) {
169 for (
int j=1; j<=3; j++) {
177 for (
int i=1; i<=3; i++)
const Map & get_mp() const
Returns the mapping.
Class for black holes in black hole-neutron star binaries.
const Scalar & get_lapconf_auto() const
Returns the part of the lapconf function generated by the black hole.
const Scalar & get_confo_auto() const
Returns the part of the conformal factor generated by the black hole.
const Vector & get_shift_auto() const
Returns the part of the shift vector generated by the black hole.
Vector shift_tot
Total shift vector.
Scalar lapconf_auto
Lapconf function generated by the star.
Scalar confo_comp
Conformal factor generated by the companion black hole.
Tensor d_shift_auto
Derivative of the shift vector generated by the star .
Scalar lapse_tot
Total lapse function.
virtual void del_deriv() const
Deletes all the derived quantities.
Scalar confo_tot
Total conformal factor.
Scalar psi4
Fourth power of the total conformal factor.
Vector d_lapconf_auto
Derivative of the lapconf function generated by the star .
Vector d_confo_auto
Derivative of the conformal factor generated by the star .
Vector shift_comp
Shift vector generated by the companion black hole.
Scalar lapconf_tot
Total lapconf function.
Star_bhns(Map &mp_i, int nzet_i, const Eos &eos_i, bool irrot_i)
Standard constructor.
Scalar lapse_auto
Lapse function generated by the "star".
Scalar lapconf_comp
Lapconf function generated by the companion black hole.
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...
Vector shift_auto
Shift vector generated by the star.
Scalar confo_auto
Conformal factor generated by the star.
Map & mp
Mapping associated with the star.
Tensor field of valence 1.
virtual void change_triad(const Base_vect &)
Sets a new vectorial basis (triad) of decomposition and modifies the components accordingly.
Cmp pow(const Cmp &, int)
Power .
const Base_vect * get_triad() const
Returns the vectorial basis (triad) on which the components are defined.
Map(const Mg3d &)
Constructor from a multi-domain 3D grid.