14 template <
class A,
class T,
int Dim,
char i,
char j,
char k,
char l>
27 template <
class A,
class T,
int Dim,
char i,
char j,
char k,
char l>
43 template <
class B,
class U>
47 iter(0, 1, 0, 1) = result(0, 1, 0, 1);
48 iter(0, 1, 0, 2) = result(0, 1, 0, 2);
49 iter(0, 2, 0, 2) = result(0, 2, 0, 2);
50 iter(0, 1, 1, 2) = result(0, 1, 1, 2);
51 iter(0, 2, 1, 2) = result(0, 2, 1, 2);
52 iter(1, 2, 1, 2) = result(1, 2, 1, 2);
61 template <
class B,
class U>
65 iter(0, 1, 0, 1) += result(0, 1, 0, 1);
66 iter(0, 1, 0, 2) += result(0, 1, 0, 2);
67 iter(0, 2, 0, 2) += result(0, 2, 0, 2);
68 iter(0, 1, 1, 2) += result(0, 1, 1, 2);
69 iter(0, 2, 1, 2) += result(0, 2, 1, 2);
70 iter(1, 2, 1, 2) += result(1, 2, 1, 2);
77 template <
class B,
class U>
81 iter(0, 1, 0, 1) -= result(0, 1, 0, 1);
82 iter(0, 1, 0, 2) -= result(0, 1, 0, 2);
83 iter(0, 2, 0, 2) -= result(0, 2, 0, 2);
84 iter(0, 1, 1, 2) -= result(0, 1, 1, 2);
85 iter(0, 2, 1, 2) -= result(0, 2, 1, 2);
86 iter(1, 2, 1, 2) -= result(1, 2, 1, 2);
const Riemann_Expr< Riemann< A, Dim >, T, Dim, i, j, k, l > & operator+=(const Riemann_Expr< B, U, Dim, i, j, k, l > &result)
const Riemann_Expr< Riemann< A, Dim >, T, Dim, i, j, k, l > & operator=(const Riemann_Expr< B, U, Dim, i, j, k, l > &result)
T operator()(const int N1, const int N2, const int N3, const int N4) const
const Riemann_Expr< Riemann< A, Dim >, T, Dim, i, j, k, l > & operator+=(const Riemann_Expr< B, U, Dim, j, i, k, l > &result)
const Riemann_Expr< Riemann< A, Dim >, T, Dim, i, j, k, l > & operator=(const Riemann_Expr< Riemann< A, Dim >, T, Dim, i, j, k, l > &result)
Riemann_Expr(Riemann< A, Dim > &a)
T operator()(const int N1, const int N2, const int N3, const int N4) const
FTensor::Index< 'i', SPACE_DIM > i
FTensor::Index< 'l', 3 > l
FTensor::Index< 'j', 3 > j
FTensor::Index< 'k', 3 > k
Tensors class implemented by Walter Landry.