26 char star_bin_upmetr_der_xcts_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Star/star_bin_upmetr_der_xcts.C,v 1.6 2014/10/13 08:53:38 j_novak Exp $" ;
58 #include "utilitaires.h"
59 #include "graphique.h"
75 for(
int i=1; i<=3; i++) {
93 for(
int i=1; i<=3; i++) {
116 for(
int i=1; i<=3; i++)
117 for(
int j=1; j<=3; j++) {
120 (dbeta_comp.
set(i,j)).
import( (temp_beta)(i,j) );
122 (dbeta_comp.
set(i,j)).set_spectral_va().set_base(temp_beta(i,j).get_spectral_va().get_base()) ;
131 for (
int i=1; i<=3; i++)
132 for (
int j=1; j<=i; j++) {
136 haij_comp.
set(i, j) = dbeta_comp(i, j) + dbeta_comp(j, i)
137 - double(2) /double(3) * divbeta_comp * (
flat.
con())(i,j) ;
const Base_vect_cart & get_bvect_cart() const
Returns the Cartesian basis associated with the coordinates (x,y,z) of the mapping,...
virtual const Sym_tensor & con() const
Read-only access to the contravariant representation.
Tensor field of valence 0 (or component of a tensorial field).
const Vector & derive_cov(const Metric &gam) const
Returns the gradient (1-form = covariant vector) of *this
Valeur & set_spectral_va()
Returns va (read/write version)
void import(const Scalar &ci)
Assignment to another Scalar defined on a different mapping.
Class for stars in binary system in eXtended Conformal Thin Sandwich formulation.
Scalar Psi
Total conformal factor .
Sym_tensor haij_auto
Part of the extrinsic curvature tensor generated by beta_auto.
Metric_flat flat
Flat metric defined on the mapping (Spherical components with respect to the mapping of the star) .
Vector dcov_Psi
Covariant derivative of the conformal factor .
Vector beta_comp
Part of the shift vector generated principally by the star (Spherical components with respect to the ...
Vector beta_auto
Part of the shift vector generated principally by the star (Spherical components with respect to the ...
Scalar Psi_auto
Scalar field generated principally by the star.
Scalar hacar_comp
Part of the scalar generated by beta_auto and beta_comp, i.e.
Scalar chi
Total function .
void update_metric_der_comp(const Star_bin_xcts &comp)
Computes the derivative of metric functions related to the companion star.
Sym_tensor haij_comp
Part of the extrinsic curvature tensor generated by beta_comp.
Vector dcov_chi
Covariant derivative of the function .
Scalar chi_auto
Scalar field generated principally by the star.
virtual void del_deriv() const
Deletes all the derived quantities.
Map & mp
Mapping associated with the star.
Class intended to describe valence-2 symmetric tensors.
void set_base(const Base_val &)
Sets the bases for spectral expansions (member base )
Tensor field of valence 1.
const Scalar & divergence(const Metric &) const
The divergence of this with respect to a Metric .
virtual void change_triad(const Base_vect &)
Sets a new vectorial basis (triad) of decomposition and modifies the components accordingly.
Scalar & set(int)
Read/write access to a component.
Cmp pow(const Cmp &, int)
Power .
virtual void dec_dzpuis(int dec=1)
Decreases by dec units the value of dzpuis and changes accordingly the values in the compactified ext...
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 &new_triad)
Sets a new vectorial basis (triad) of decomposition and modifies the components accordingly.
virtual void inc_dzpuis(int inc=1)
Increases by inc units the value of dzpuis and changes accordingly the values in the compactified ext...
Scalar & set(const Itbl &ind)
Returns the value of a component (read/write version).
virtual void std_spectral_base()
Sets the standard spectal bases of decomposition for each component.
const Base_vect * get_triad() const
Returns the vectorial basis (triad) on which the components are defined.
Tenseur contract(const Tenseur &, int id1, int id2)
Self contraction of two indices of a Tenseur .