100 #include "utilitaires.h" 101 #include "graphique.h" 114 Base_val sauve_base1 (temp(1).get_spectral_va().get_base()) ;
115 Base_val sauve_base2 (temp(2).get_spectral_va().get_base()) ;
116 Base_val sauve_base3 (temp(3).get_spectral_va().get_base()) ;
135 sauve_base1 = temp_con(1).get_spectral_va().get_base() ;
136 sauve_base2 = temp_con(2).get_spectral_va().get_base() ;
137 sauve_base3 = temp_con(3).get_spectral_va().get_base() ;
156 sauve_base1 = temp(1).get_spectral_va().get_base() ;
157 sauve_base2 = temp(2).get_spectral_va().get_base() ;
158 sauve_base3 = temp(3).get_spectral_va().get_base() ;
178 sauve_base1 = temp_con(1).get_spectral_va().get_base() ;
179 sauve_base2 = temp_con(2).get_spectral_va().get_base() ;
180 sauve_base3 = temp_con(3).get_spectral_va().get_base() ;
207 omdsdp.
set(1) = - om * yya ;
208 omdsdp.set(2) = om * xxa ;
212 omdsdp.set(1) = om * yya ;
213 omdsdp.set(2) = - om * xxa ;
217 omdsdp.set(1).set_spectral_va()
219 omdsdp.set(2).set_spectral_va()
221 omdsdp.set(3).set_spectral_va()
224 omdsdp.annule_domain(nz-1) ;
241 for (
int i=1; i<=3; i++)
242 for (
int j=i; j<=3; j++) {
244 tkij_comp.
set(i, j) = dbeta_comp(i, j) + dbeta_comp(j, i) -
245 double(2) /double(3) * divbeta_comp * (
gtilde.
con())(i,j) ;
Sym_tensor hij_comp
Deviation of the inverse conformal metric from the inverse flat metric generated principally by the ...
Vector dcov_phi
Covariant derivative of the logarithm of the conformal factor.
Coord xa
Absolute x coordinate.
Base_val ** std_base_vect_cart() const
Returns the standard spectral bases for the Cartesian components of a vector.
virtual const Sym_tensor & con() const
Read-only access to the contravariant representation.
Map & mp
Mapping associated with the star.
const Mg3d * get_mg() const
Gives the Mg3d on which the mapping is defined.
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 .
virtual void change_triad(const Base_vect &)
Sets a new vectorial basis (triad) of decomposition and modifies the components accordingly.
double get_rot_phi() const
Returns the angle between the x –axis and X –axis.
void set(const Map *mp, Mtbl *(*construct)(const Map *))
Semi-constructor from a mapping and a method.
const Vector & derive_con(const Metric &gam) const
Returns the "contravariant" derivative of *this with respect to some metric , by raising the index of...
Tensor field of valence 1.
Scalar logn_auto
Part of the lapse logarithm (gravitational potential at the Newtonian limit) generated principally by...
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...
void annule_hard()
Sets the Scalar to zero in a hard way.
const Base_vect * get_triad() const
Returns the vectorial basis (triad) on which the components are defined.
Metric_flat flat
Flat metric defined on the mapping (Spherical components with respect to the mapping of the star) ...
Scalar lnq_auto
Scalar field generated principally by the star.
const Metric & get_flat() const
Return the flat metric defined on the mapping (Spherical components with respect to the mapping of th...
int get_nzone() const
Returns the number of domains.
virtual void del_deriv() const
Deletes all the derived quantities.
const Scalar & divergence(const Metric &) const
The divergence of this with respect to a Metric .
Sym_tensor tkij_comp
Part of the extrinsic curvature tensor generated by beta_comp.
Vector dcov_logn
Covariant derivative of the total logarithm of the lapse.
Tenseur contract(const Tenseur &, int id1, int id2)
Self contraction of two indices of a Tenseur .
const Tensor & derive_cov(const Metric &gam) const
Returns the covariant derivative of this with respect to some metric .
Class for stars in binary system.
Metric gtilde
Conformal metric .
virtual void inc_dzpuis(int inc=1)
Increases by inc units the value of dzpuis and changes accordingly the values in the compactified ext...
Vector dcon_logn
Contravariant derivative of the total logarithm of the lapse.
void import(const Scalar &ci)
Assignment to another Scalar defined on a different mapping.
Coord ya
Absolute y coordinate.
const Tensor & derive_con(const Metric &gam) const
Returns the "contravariant" derivative of this with respect to some metric , by raising the last inde...
Bases of the spectral expansions.
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).
Scalar nn
Lapse function N .
Vector beta_comp
Part of the shift vector generated principally by the star (Spherical components with respect to the ...
Sym_tensor tkij_auto
Part of the extrinsic curvature tensor generated by beta_auto.
Scalar kcar_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.
void update_metric_der_comp(const Star_bin &comp, double omega)
Computes the derivative of metric functions related to the companion star.
const Vector & derive_cov(const Metric &gam) const
Returns the gradient (1-form = covariant vector) of *this
const Map & get_mp() const
Returns the mapping.
Sym_tensor derive_lie(const Vector &v) const
Computes the Lie derivative of this with respect to some vector field v.
Class intended to describe valence-2 symmetric tensors.
Vector dcon_phi
Contravariant derivative of the logarithm of the conformal factor.