1 #include "../../../src/FTensor.hpp"
2 #include "../test_for_zero.hpp"
21 t2_1(
i,
j) = t3dg_2(
k,
i,
j) * t1_2(
k);
23 - (t3dg_2(0, 0, 0) * t1_2(0) + t3dg_2(1, 0, 0) * t1_2(1)
24 + t3dg_2(2, 0, 0) * t1_2(2)),
25 "T3dg(k,i,j)*T1(k)(0,0)");
27 - (t3dg_2(0, 0, 1) * t1_2(0) + t3dg_2(1, 0, 1) * t1_2(1)
28 + t3dg_2(2, 0, 1) * t1_2(2)),
29 "T3dg(k,i,j)*T1(k)(0,1)");
31 - (t3dg_2(0, 0, 2) * t1_2(0) + t3dg_2(1, 0, 2) * t1_2(1)
32 + t3dg_2(2, 0, 2) * t1_2(2)),
33 "T3dg(k,i,j)*T1(k)(0,2)");
35 - (t3dg_2(0, 1, 0) * t1_2(0) + t3dg_2(1, 1, 0) * t1_2(1)
36 + t3dg_2(2, 1, 0) * t1_2(2)),
37 "T3dg(k,i,j)*T1(k)(1,0)");
39 - (t3dg_2(0, 1, 1) * t1_2(0) + t3dg_2(1, 1, 1) * t1_2(1)
40 + t3dg_2(2, 1, 1) * t1_2(2)),
41 "T3dg(k,i,j)*T1(k)(1,1)");
43 - (t3dg_2(0, 1, 2) * t1_2(0) + t3dg_2(1, 1, 2) * t1_2(1)
44 + t3dg_2(2, 1, 2) * t1_2(2)),
45 "T3dg(k,i,j)*T1(k)(1,2)");
47 - (t3dg_2(0, 2, 0) * t1_2(0) + t3dg_2(1, 2, 0) * t1_2(1)
48 + t3dg_2(2, 2, 0) * t1_2(2)),
49 "T3dg(k,i,j)*T1(k)(2,0)");
51 - (t3dg_2(0, 2, 1) * t1_2(0) + t3dg_2(1, 2, 1) * t1_2(1)
52 + t3dg_2(2, 2, 1) * t1_2(2)),
53 "T3dg(k,i,j)*T1(k)(2,1)");
55 - (t3dg_2(0, 2, 2) * t1_2(0) + t3dg_2(1, 2, 2) * t1_2(1)
56 + t3dg_2(2, 2, 2) * t1_2(2)),
57 "T3dg(k,i,j)*T1(k)(2,2)");
59 t2_1(
i,
j) = t1_2(
k) * t3dg_3(
k,
i,
j);
61 - (t3dg_3(0, 0, 0) * t1_2(0) + t3dg_3(1, 0, 0) * t1_2(1)
62 + t3dg_3(2, 0, 0) * t1_2(2)),
63 "T1(k)*T3dg(k,i,j)(0,0)");
65 - (t3dg_3(0, 0, 1) * t1_2(0) + t3dg_3(1, 0, 1) * t1_2(1)
66 + t3dg_3(2, 0, 1) * t1_2(2)),
67 "T1(k)*T3dg(k,i,j)(0,1)");
69 - (t3dg_3(0, 0, 2) * t1_2(0) + t3dg_3(1, 0, 2) * t1_2(1)
70 + t3dg_3(2, 0, 2) * t1_2(2)),
71 "T1(k)*T3dg(k,i,j)(0,2)");
73 - (t3dg_3(0, 1, 0) * t1_2(0) + t3dg_3(1, 1, 0) * t1_2(1)
74 + t3dg_3(2, 1, 0) * t1_2(2)),
75 "T1(k)*T3dg(k,i,j)(1,0)");
77 - (t3dg_3(0, 1, 1) * t1_2(0) + t3dg_3(1, 1, 1) * t1_2(1)
78 + t3dg_3(2, 1, 1) * t1_2(2)),
79 "T1(k)*T3dg(k,i,j)(1,1)");
81 - (t3dg_3(0, 1, 2) * t1_2(0) + t3dg_3(1, 1, 2) * t1_2(1)
82 + t3dg_3(2, 1, 2) * t1_2(2)),
83 "T1(k)*T3dg(k,i,j)(1,2)");
85 - (t3dg_3(0, 2, 0) * t1_2(0) + t3dg_3(1, 2, 0) * t1_2(1)
86 + t3dg_3(2, 2, 0) * t1_2(2)),
87 "T1(k)*T3dg(k,i,j)(2,0)");
89 - (t3dg_3(0, 2, 1) * t1_2(0) + t3dg_3(1, 2, 1) * t1_2(1)
90 + t3dg_3(2, 2, 1) * t1_2(2)),
91 "T1(k)*T3dg(k,i,j)(2,1)");
93 - (t3dg_3(0, 2, 2) * t1_2(0) + t3dg_3(1, 2, 2) * t1_2(1)
94 + t3dg_3(2, 2, 2) * t1_2(2)),
95 "T1(k)*T3dg(k,i,j)(2,2)");