31char tensor_sym_calculus_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Tensor/tensor_sym_calculus.C,v 1.5 2014/10/13 08:53:44 j_novak Exp $" ;
76 for (
int i=0 ;
i<
t1.valence ;
i++)
78 for (
int i=0 ;
i<
t2.valence ;
i++)
84 if (
t2.valence != 0 ) {
94 for (
int i=0 ;
i<
res.n_comp ;
i++) {
96 for (
int j=0 ;
j<
t1.valence ;
j++)
98 for (
int j=0 ;
j<
t2.valence ;
j++)
116 for (
int i=0 ;
i<
t1.valence ;
i++)
118 for (
int i=0 ;
i<
t2.valence ;
i++)
124 if (
t1.valence != 0 ) {
128 int ids1 =
t2.sym_index1() +
t1.valence ;
129 int ids2 =
t2.sym_index2() +
t1.valence ;
136 for (
int i=0 ;
i<
res.n_comp ;
i++) {
138 for (
int j=0 ;
j<
t1.valence ;
j++)
140 for (
int j=0 ;
j<
t2.valence ;
j++)
159 for (
int i=0 ;
i<
t1.valence ;
i++)
161 for (
int i=0 ;
i<
t2.valence ;
i++)
175 for (
int i=0 ;
i<
res.n_comp ;
i++) {
177 for (
int j=0 ;
j<
t1.valence ;
j++)
179 for (
int j=0 ;
j<
t2.valence ;
j++)
Vectorial bases (triads) with respect to which the tensorial components are defined.
Time evolution with partial storage (*** under development ***).
Basic integer array class.
Metric for tensor calculation.
Symmetric tensors (with respect to two of their arguments).
Tensor field of valence 1.
Base_val operator*(const Base_val &, const Base_val &)
This operator is used when calling multiplication or division of Valeur .
Tensor_sym derive_lie(const Vector &v) const
Computes the Lie derivative of this with respect to some vector field v.
const Tensor_sym & derive_cov(const Metric &gam) const
Returns the covariant derivative of this with respect to some metric .
const Map *const mp
Mapping on which the numerical values at the grid points are defined.
const Tensor & derive_con(const Metric &gam) const
Returns the "contravariant" derivative of this with respect to some metric , by raising the last inde...
int id_sym1
Number of the first symmetric index (0<= id_sym1 < valence )
int valence
Valence of the tensor (0 = scalar, 1 = vector, etc...)
int id_sym2
Number of the second symmetric index (id_sym1 < id_sym2 < valence )
void compute_derive_lie(const Vector &v, Tensor &resu) const
Computes the Lie derivative of this with respect to some vector field v (protected method; the public...
const Tensor_sym & derive_con(const Metric &gam) const
Returns the "contravariant" derivative of this with respect to some metric , by raising the last inde...
const Tensor & derive_cov(const Metric &gam) const
Returns the covariant derivative of this with respect to some metric .
Itbl type_indice
1D array of integers (class Itbl ) of size valence containing the type of each index: COV for a cov...
const Base_vect * triad
Vectorial basis (triad) with respect to which the tensor components are defined.