67 if ( (
mp.get_mg())->get_np(0) == 1) {
69 tkij.set_etat_zero() ;
82 dnpdr.
va = (dnpdr.
va).mult_st() ;
86 dnpdt.
va = (dnpdt.
va).mult_ct() ;
89 Cmp tmp = dnpdr + dnpdt ;
95 tkij.set(0,1) = - 0.5 * tmp /
nnn() ;
101 dnpdr =
nphi().dsdr() ;
102 dnpdt =
nphi().srdsdt() ;
105 dnpdr.
va = (dnpdr.
va).mult_ct() ;
109 dnpdt.
va = (dnpdt.
va).mult_st() ;
112 tmp = dnpdr - dnpdt ;
117 if (
tkij.get_etat() != ETATQCQ) {
118 tkij.set_etat_qcq() ;
120 tkij.set(1,2) = - 0.5 * tmp /
nnn() ;
125 if (
tkij.get_etat() == ETATQCQ) {
153 tkij.set_etat_qcq() ;
154 for (
int i=0; i<3; i++) {
155 for (
int j=i; j<3; j++) {
156 tkij.set(i, j) = dn(i, j) + dn(j, i) ;
158 tkij.set(i, i) -= double(2) /double(3) * divn() ;
165 assert( divn.
get_etat() == ETATZERO ) ;
166 tkij.set_etat_zero() ;
173 if (
tkij.get_etat() == ETATZERO) {
181 for (
int i=0; i<3; i++) {
182 for (
int j=0; j<3; j++) {
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
void mult_rsint()
Multiplication by .
int get_etat() const
Returns the logical state.
Valeur va
The numerical value of the Cmp.
Tenseur nphi
Metric coefficient .
void extrinsic_curvature()
Computes tkij and ak_car from shift , nnn and b_car .
Tenseur_sym tkij
Tensor related to the extrinsic curvature tensor by .
Tenseur b_car
Square of the metric factor B.
Tenseur nnn
Total lapse function.
Map & mp
Mapping associated with the star.
Tenseur shift
Total shift vector.
Base class for pure radial mappings.
Tensor handling *** DEPRECATED : use class Tensor instead ***.
int get_etat() const
Returns the logical state.
Tenseur contract(const Tenseur &, int id1, int id2)
Self contraction of two indices of a Tenseur .