28char star_bin_extr_curv_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Star/star_bin_extr_curv.C,v 1.10 2014/10/13 08:53:38 j_novak Exp $" ;
80 const Mg3d* mg =
mp.get_mg() ;
88 if (fabs(
mp.get_rot_phi()) < 1e-10){
89 omdsdp.
set(1) = - om * yya ;
90 omdsdp.
set(2) = om * xxa ;
94 omdsdp.
set(1) = om * yya ;
95 omdsdp.
set(2) = - om * xxa ;
100 .
set_base(*(
mp.get_mg()->std_base_vect_cart()[0])) ;
102 .
set_base(*(
mp.get_mg()->std_base_vect_cart()[1])) ;
104 .
set_base(*(
mp.get_mg()->std_base_vect_cart()[2])) ;
122 for (
int i=1; i<=3; i++)
123 for (
int j=1; j<=i; j++) {
124 tkij_auto.set(i, j) = dbeta(i, j) + dbeta(j, i) -
125 double(2) /double(3) * div_beta * (
gtilde.con())(i,j) ;
int get_nzone() const
Returns the number of domains.
Tensor field of valence 0 (or component of a tensorial field).
Valeur & set_spectral_va()
Returns va (read/write version).
void annule_hard()
Sets the Scalar to zero in a hard way.
virtual void del_deriv() const
Deletes all the derived quantities.
void extrinsic_curvature(double omega)
Computes tkij_auto and akcar_auto from beta_auto, nn and Q.
Scalar kcar_auto
Part of the scalar generated by beta_auto, i.e.
Vector beta_auto
Part of the shift vector generated principally by the star (Spherical components with respect to the ...
Sym_tensor hij_auto
Deviation of the inverse conformal metric from the inverse flat metric generated principally by the ...
Sym_tensor tkij_auto
Part of the extrinsic curvature tensor generated by beta_auto.
Metric gtilde
Conformal metric .
Scalar nn
Lapse function N .
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.
Scalar & set(int)
Read/write access to a component.
void annule_domain(int l)
Sets the Tensor to zero in a given domain.
Tenseur contract(const Tenseur &, int id1, int id2)
Self contraction of two indices of a Tenseur .