61 #include "utilitaires.h" 62 #include "graphique.h" 78 for(
int i=1; i<=3; i++) {
96 for(
int i=1; i<=3; i++) {
117 assert ( *(temp_beta.
get_triad()) == *(dbeta_comp.get_triad()) ) ;
119 for(
int i=1; i<=3; i++)
120 for(
int j=1; j<=3; j++) {
123 (dbeta_comp.set(i,j)).
import( (temp_beta)(i,j) );
125 (dbeta_comp.set(i,j)).set_spectral_va().set_base(temp_beta(i,j).get_spectral_va().get_base()) ;
129 dbeta_comp.inc_dzpuis(2) ;
134 for (
int i=1; i<=3; i++)
135 for (
int j=1; j<=i; j++) {
139 haij_comp.
set(i, j) = dbeta_comp(i, j) + dbeta_comp(j, i)
140 - double(2) /double(3) * divbeta_comp * (
flat.
con())(i,j) ;
Scalar chi
Total function .
Vector dcov_chi
Covariant derivative of the function .
Map & mp
Mapping associated with the star.
Tensor field of valence 0 (or component of a tensorial field).
Tensor up_down(const Metric &gam) const
Computes a new tensor by raising or lowering all the indices of *this .
Vector dcov_Psi
Covariant derivative of the conformal factor .
Class for stars in binary system in eXtended Conformal Thin Sandwich formulation. ...
virtual void change_triad(const Base_vect &)
Sets a new vectorial basis (triad) of decomposition and modifies the components accordingly.
Tensor field of valence 1.
Sym_tensor haij_auto
Part of the extrinsic curvature tensor generated by beta_auto.
void set_base(const Base_val &)
Sets the bases for spectral expansions (member base )
virtual void dec_dzpuis(int dec=1)
Decreases by dec units the value of dzpuis and changes accordingly the values in the compactified ext...
virtual const Sym_tensor & con() const
Read-only access to the contravariant representation.
Sym_tensor haij_comp
Part of the extrinsic curvature tensor generated by beta_comp.
Scalar Psi_auto
Scalar field generated principally by the star.
const Base_vect * get_triad() const
Returns the vectorial basis (triad) on which the components are defined.
Vector beta_comp
Part of the shift vector generated principally by the star (Spherical components with respect to the ...
const Scalar & divergence(const Metric &) const
The divergence of this with respect to a Metric .
Cmp pow(const Cmp &, int)
Power .
Scalar chi_auto
Scalar field generated principally by the star.
Tenseur contract(const Tenseur &, int id1, int id2)
Self contraction of two indices of a Tenseur .
virtual void inc_dzpuis(int inc=1)
Increases by inc units the value of dzpuis and changes accordingly the values in the compactified ext...
Metric_flat flat
Flat metric defined on the mapping (Spherical components with respect to the mapping of the star) ...
void import(const Scalar &ci)
Assignment to another Scalar defined on a different mapping.
Scalar Psi
Total conformal factor .
void update_metric_der_comp(const Star_bin_xcts &comp)
Computes the derivative of metric functions related to the companion 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 beta_auto
Part of the shift vector generated principally by the star (Spherical components with respect to the ...
virtual void del_deriv() const
Deletes all the derived quantities.
virtual void change_triad(const Base_vect &new_triad)
Sets a new vectorial basis (triad) of decomposition and modifies the components accordingly.
Scalar hacar_comp
Part of the scalar generated by beta_auto and beta_comp, i.e.
Valeur & set_spectral_va()
Returns va (read/write version)
Scalar & set(int)
Read/write access to a component.
const Vector & derive_cov(const Metric &gam) const
Returns the gradient (1-form = covariant vector) of *this
virtual void std_spectral_base()
Sets the standard spectal bases of decomposition for each component.
Class intended to describe valence-2 symmetric tensors.