1 #include "../../../src/FTensor.hpp"
2 #include "../test_for_zero.hpp"
21 t2_1(
i,
j) = t2s_2(
i,
k) * t2_2(
k,
j);
23 - (t2s_2(0, 0) * t2_2(0, 0) + t2s_2(0, 1) * t2_2(1, 0)
24 + t2s_2(0, 2) * t2_2(2, 0)),
25 "T2s(i,k)*T2(k,j)(0,0)");
27 - (t2s_2(0, 0) * t2_2(0, 1) + t2s_2(0, 1) * t2_2(1, 1)
28 + t2s_2(0, 2) * t2_2(2, 1)),
29 "T2s(i,k)*T2(k,j)(0,1)");
31 - (t2s_2(0, 0) * t2_2(0, 2) + t2s_2(0, 1) * t2_2(1, 2)
32 + t2s_2(0, 2) * t2_2(2, 2)),
33 "T2s(i,k)*T2(k,j)(0,2)");
35 - (t2s_2(1, 0) * t2_2(0, 0) + t2s_2(1, 1) * t2_2(1, 0)
36 + t2s_2(1, 2) * t2_2(2, 0)),
37 "T2s(i,k)*T2(k,j)(1,0)");
39 - (t2s_2(1, 0) * t2_2(0, 1) + t2s_2(1, 1) * t2_2(1, 1)
40 + t2s_2(1, 2) * t2_2(2, 1)),
41 "T2s(i,k)*T2(k,j)(1,1)");
43 - (t2s_2(1, 0) * t2_2(0, 2) + t2s_2(1, 1) * t2_2(1, 2)
44 + t2s_2(1, 2) * t2_2(2, 2)),
45 "T2s(i,k)*T2(k,j)(1,2)");
47 - (t2s_2(2, 0) * t2_2(0, 0) + t2s_2(2, 1) * t2_2(1, 0)
48 + t2s_2(2, 2) * t2_2(2, 0)),
49 "T2s(i,k)*T2(k,j)(2,0)");
51 - (t2s_2(2, 0) * t2_2(0, 1) + t2s_2(2, 1) * t2_2(1, 1)
52 + t2s_2(2, 2) * t2_2(2, 1)),
53 "T2s(i,k)*T2(k,j)(2,1)");
55 - (t2s_2(2, 0) * t2_2(0, 2) + t2s_2(2, 1) * t2_2(1, 2)
56 + t2s_2(2, 2) * t2_2(2, 2)),
57 "T2s(i,k)*T2(k,j)(2,2)");
58 t2_1(
i,
j) = t2_2(
k,
j) * t2s_2(
i,
k);
60 - (t2s_2(0, 0) * t2_2(0, 0) + t2s_2(0, 1) * t2_2(1, 0)
61 + t2s_2(0, 2) * t2_2(2, 0)),
62 "T2(k,j)*T2s(i,k)(0,0)");
64 - (t2s_2(0, 0) * t2_2(0, 1) + t2s_2(0, 1) * t2_2(1, 1)
65 + t2s_2(0, 2) * t2_2(2, 1)),
66 "T2(k,j)*T2s(i,k)(0,1)");
68 - (t2s_2(0, 0) * t2_2(0, 2) + t2s_2(0, 1) * t2_2(1, 2)
69 + t2s_2(0, 2) * t2_2(2, 2)),
70 "T2(k,j)*T2s(i,k)(0,2)");
72 - (t2s_2(1, 0) * t2_2(0, 0) + t2s_2(1, 1) * t2_2(1, 0)
73 + t2s_2(1, 2) * t2_2(2, 0)),
74 "T2(k,j)*T2s(i,k)(1,0)");
76 - (t2s_2(1, 0) * t2_2(0, 1) + t2s_2(1, 1) * t2_2(1, 1)
77 + t2s_2(1, 2) * t2_2(2, 1)),
78 "T2(k,j)*T2s(i,k)(1,1)");
80 - (t2s_2(1, 0) * t2_2(0, 2) + t2s_2(1, 1) * t2_2(1, 2)
81 + t2s_2(1, 2) * t2_2(2, 2)),
82 "T2(k,j)*T2s(i,k)(1,2)");
84 - (t2s_2(2, 0) * t2_2(0, 0) + t2s_2(2, 1) * t2_2(1, 0)
85 + t2s_2(2, 2) * t2_2(2, 0)),
86 "T2(k,j)*T2s(i,k)(2,0)");
88 - (t2s_2(2, 0) * t2_2(0, 1) + t2s_2(2, 1) * t2_2(1, 1)
89 + t2s_2(2, 2) * t2_2(2, 1)),
90 "T2(k,j)*T2s(i,k)(2,1)");
92 - (t2s_2(2, 0) * t2_2(0, 2) + t2s_2(2, 1) * t2_2(1, 2)
93 + t2s_2(2, 2) * t2_2(2, 2)),
94 "T2(k,j)*T2s(i,k)(2,2)");