1 #include "../../../src/FTensor.hpp"
2 #include "../test_for_zero.hpp"
22 t2s_1(
i,
j) = t3dg_2(
i,
j,
k) * t1_2(
k);
24 - (t3dg_2(0, 0, 0) * t1_2(0) + t3dg_2(0, 0, 1) * t1_2(1)
25 + t3dg_2(0, 0, 2) * t1_2(2)),
26 "T3dg(i,j,k)*T1(k)(0,0)");
28 - (t3dg_2(0, 1, 0) * t1_2(0) + t3dg_2(0, 1, 1) * t1_2(1)
29 + t3dg_2(0, 1, 2) * t1_2(2)),
30 "T3dg(i,j,k)*T1(k)(0,1)");
32 - (t3dg_2(0, 2, 0) * t1_2(0) + t3dg_2(0, 2, 1) * t1_2(1)
33 + t3dg_2(0, 2, 2) * t1_2(2)),
34 "T3dg(i,j,k)*T1(k)(0,2)");
36 - (t3dg_2(1, 0, 0) * t1_2(0) + t3dg_2(1, 0, 1) * t1_2(1)
37 + t3dg_2(1, 0, 2) * t1_2(2)),
38 "T3dg(i,j,k)*T1(k)(1,0)");
40 - (t3dg_2(1, 1, 0) * t1_2(0) + t3dg_2(1, 1, 1) * t1_2(1)
41 + t3dg_2(1, 1, 2) * t1_2(2)),
42 "T3dg(i,j,k)*T1(k)(1,1)");
44 - (t3dg_2(1, 2, 0) * t1_2(0) + t3dg_2(1, 2, 1) * t1_2(1)
45 + t3dg_2(1, 2, 2) * t1_2(2)),
46 "T3dg(i,j,k)*T1(k)(1,2)");
48 - (t3dg_2(2, 0, 0) * t1_2(0) + t3dg_2(2, 0, 1) * t1_2(1)
49 + t3dg_2(2, 0, 2) * t1_2(2)),
50 "T3dg(i,j,k)*T1(k)(2,0)");
52 - (t3dg_2(2, 1, 0) * t1_2(0) + t3dg_2(2, 1, 1) * t1_2(1)
53 + t3dg_2(2, 1, 2) * t1_2(2)),
54 "T3dg(i,j,k)*T1(k)(2,1)");
56 - (t3dg_2(2, 2, 0) * t1_2(0) + t3dg_2(2, 2, 1) * t1_2(1)
57 + t3dg_2(2, 2, 2) * t1_2(2)),
58 "T3dg(i,j,k)*T1(k)(2,2)");
60 t2s_1(
i,
j) = t1_2(
k) * t3dg_3(
i,
j,
k);
62 - (t3dg_3(0, 0, 0) * t1_2(0) + t3dg_3(0, 0, 1) * t1_2(1)
63 + t3dg_3(0, 0, 2) * t1_2(2)),
64 "T1(k)*T3dg(i,j,k)(0,0)");
66 - (t3dg_3(0, 1, 0) * t1_2(0) + t3dg_3(0, 1, 1) * t1_2(1)
67 + t3dg_3(0, 1, 2) * t1_2(2)),
68 "T1(k)*T3dg(i,j,k)(0,1)");
70 - (t3dg_3(0, 2, 0) * t1_2(0) + t3dg_3(0, 2, 1) * t1_2(1)
71 + t3dg_3(0, 2, 2) * t1_2(2)),
72 "T1(k)*T3dg(i,j,k)(0,2)");
74 - (t3dg_3(1, 0, 0) * t1_2(0) + t3dg_3(1, 0, 1) * t1_2(1)
75 + t3dg_3(1, 0, 2) * t1_2(2)),
76 "T1(k)*T3dg(i,j,k)(1,0)");
78 - (t3dg_3(1, 1, 0) * t1_2(0) + t3dg_3(1, 1, 1) * t1_2(1)
79 + t3dg_3(1, 1, 2) * t1_2(2)),
80 "T1(k)*T3dg(i,j,k)(1,1)");
82 - (t3dg_3(1, 2, 0) * t1_2(0) + t3dg_3(1, 2, 1) * t1_2(1)
83 + t3dg_3(1, 2, 2) * t1_2(2)),
84 "T1(k)*T3dg(i,j,k)(1,2)");
86 - (t3dg_3(2, 0, 0) * t1_2(0) + t3dg_3(2, 0, 1) * t1_2(1)
87 + t3dg_3(2, 0, 2) * t1_2(2)),
88 "T1(k)*T3dg(i,j,k)(2,0)");
90 - (t3dg_3(2, 1, 0) * t1_2(0) + t3dg_3(2, 1, 1) * t1_2(1)
91 + t3dg_3(2, 1, 2) * t1_2(2)),
92 "T1(k)*T3dg(i,j,k)(2,1)");
94 - (t3dg_3(2, 2, 0) * t1_2(0) + t3dg_3(2, 2, 1) * t1_2(1)
95 + t3dg_3(2, 2, 2) * t1_2(2)),
96 "T1(k)*T3dg(i,j,k)(2,2)");