108 if ( (comp.
logn_auto).get_etat() == ETATZERO ) {
118 if ( (comp.
beta_auto).get_etat() == ETATZERO ) {
128 if ( (comp.
shift_auto).get_etat() == ETATZERO ) {
214 if ( (comp.
logn_auto).get_etat() == ETATZERO ) {
224 if ( (comp.
beta_auto).get_etat() == ETATZERO ) {
234 if ( (comp.
shift_auto).get_etat() == ETATZERO ) {
250 double relaxjm1 = 1. - relax ;
Tenseur shift_comp
Part of the shift vector generated principaly by the companion star.
const Tenseur & get_beta_comp() const
Returns the part of the logarithm of AN generated principaly by the companion star.
const Base_vect & ref_triad
Reference triad ("absolute frame"), with respect to which the components of all the member Tenseur 's...
Cmp exp(const Cmp &)
Exponential.
void update_metric(const Etoile_bin &comp)
Computes metric coefficients from known potentials, when the companion is another star...
void set_triad(const Base_vect &new_triad)
Assigns a new vectorial basis (triad) of decomposition.
void set_std_base()
Set the standard spectal basis of decomposition for each component.
Tenseur logn_auto_regu
Regular part of the logarithm of the part of the lapse N generated principaly by the star...
Tenseur nnn
Total lapse function.
double unsurc2
: unsurc2=1 for a relativistic star, 0 for a Newtonian one.
Class for stars in binary system.
virtual void extrinsic_curvature()
Computes tkij_auto and akcar_auto from shift_auto , nnn and a_car .
Tenseur d_beta_auto
Gradient of beta_auto (Cartesian components with respect to ref_triad )
Tenseur shift
Total shift vector.
Tenseur shift_auto
Part of the shift vector generated principaly by the star.
const Tenseur & get_logn_comp() const
Returns the part of the lapse logarithm (gravitational potential at the Newtonian limit) generated pr...
Cmp & set()
Read/write for a scalar (see also operator=(const Cmp&) ).
void change_triad(const Base_vect &new_triad)
Sets a new vectorial basis (triad) of decomposition and modifies the components accordingly.
virtual void del_deriv() const
Deletes all the derived quantities.
Tenseur logn_comp
Part of the lapse logarithm (gravitational potential at the Newtonian limit) generated principaly by ...
Tenseur d_logn_auto
Gradient of logn_auto (Cartesian components with respect to ref_triad )
const Base_vect * get_triad() const
Returns the vectorial basis (triad) on which the components are defined.
Tenseur beta_comp
Part of the logarithm of AN generated principaly by the companion star.
Map & mp
Mapping associated with the star.
Tenseur a_car
Total conformal factor .
bool relativistic
Indicator of relativity: true for a relativistic star, false for a Newtonian one. ...
const Base_vect_cart & get_bvect_cart() const
Returns the Cartesian basis associated with the coordinates (x,y,z) of the mapping, i.e.
Tenseur logn_auto
Total of the logarithm of the part of the lapse N generated principaly by the star.
Tenseur d_logn_auto_regu
Gradient of logn_auto_regu (Cartesian components with respect to ref_triad )
Tenseur beta_auto
Logarithm of the part of the product AN generated principaly by by the star.
void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
const Tenseur & get_shift_comp() const
Returns the part of the shift vector generated principaly by the companion star. ...
void set_etat_zero()
Sets the logical state to ETATZERO (zero state).
Tenseur d_logn_auto_div
Gradient of logn_auto_div (if k_div!=0 )
Tensor handling *** DEPRECATED : use class Tensor instead ***.
const Tenseur & gradient() const
Returns the gradient of *this (Cartesian coordinates)