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