1 #include "../../../src/FTensor.hpp"
2 #include "../test_for_zero.hpp"
20 t1_1(
i) = t3dg_2(
j,
i,
k) * t2_2(
k,
j);
23 - (t3dg_2(0, 0, 0) * t2_2(0, 0) + t3dg_2(0, 0, 1) * t2_2(1, 0)
24 + t3dg_2(0, 0, 2) * t2_2(2, 0) + t3dg_2(1, 0, 0) * t2_2(0, 1)
25 + t3dg_2(1, 0, 1) * t2_2(1, 1) + t3dg_2(1, 0, 2) * t2_2(2, 1)
26 + t3dg_2(2, 0, 0) * t2_2(0, 2) + t3dg_2(2, 0, 1) * t2_2(1, 2)
27 + t3dg_2(2, 0, 2) * t2_2(2, 2)),
28 "T3dg(j,i,k)*T2(k,j)(0)");
31 - (t3dg_2(0, 1, 0) * t2_2(0, 0) + t3dg_2(0, 1, 1) * t2_2(1, 0)
32 + t3dg_2(0, 1, 2) * t2_2(2, 0) + t3dg_2(1, 1, 0) * t2_2(0, 1)
33 + t3dg_2(1, 1, 1) * t2_2(1, 1) + t3dg_2(1, 1, 2) * t2_2(2, 1)
34 + t3dg_2(2, 1, 0) * t2_2(0, 2) + t3dg_2(2, 1, 1) * t2_2(1, 2)
35 + t3dg_2(2, 1, 2) * t2_2(2, 2)),
36 "T3dg(j,i,k)*T2(k,j)(1)");
39 - (t3dg_2(0, 2, 0) * t2_2(0, 0) + t3dg_2(0, 2, 1) * t2_2(1, 0)
40 + t3dg_2(0, 2, 2) * t2_2(2, 0) + t3dg_2(1, 2, 0) * t2_2(0, 1)
41 + t3dg_2(1, 2, 1) * t2_2(1, 1) + t3dg_2(1, 2, 2) * t2_2(2, 1)
42 + t3dg_2(2, 2, 0) * t2_2(0, 2) + t3dg_2(2, 2, 1) * t2_2(1, 2)
43 + t3dg_2(2, 2, 2) * t2_2(2, 2)),
44 "T3dg(j,i,k)*T2(k,j)(2)");
46 t1_1(
i) = t2_2(
k,
j) * t3dg_2(
j,
i,
k);
49 - (t3dg_2(0, 0, 0) * t2_2(0, 0) + t3dg_2(0, 0, 1) * t2_2(1, 0)
50 + t3dg_2(0, 0, 2) * t2_2(2, 0) + t3dg_2(1, 0, 0) * t2_2(0, 1)
51 + t3dg_2(1, 0, 1) * t2_2(1, 1) + t3dg_2(1, 0, 2) * t2_2(2, 1)
52 + t3dg_2(2, 0, 0) * t2_2(0, 2) + t3dg_2(2, 0, 1) * t2_2(1, 2)
53 + t3dg_2(2, 0, 2) * t2_2(2, 2)),
54 "T2(k,j)*T3dg(j,i,k)(0)");
57 - (t3dg_2(0, 1, 0) * t2_2(0, 0) + t3dg_2(0, 1, 1) * t2_2(1, 0)
58 + t3dg_2(0, 1, 2) * t2_2(2, 0) + t3dg_2(1, 1, 0) * t2_2(0, 1)
59 + t3dg_2(1, 1, 1) * t2_2(1, 1) + t3dg_2(1, 1, 2) * t2_2(2, 1)
60 + t3dg_2(2, 1, 0) * t2_2(0, 2) + t3dg_2(2, 1, 1) * t2_2(1, 2)
61 + t3dg_2(2, 1, 2) * t2_2(2, 2)),
62 "T2(k,j)*T3dg(j,i,k)(1)");
65 - (t3dg_2(0, 2, 0) * t2_2(0, 0) + t3dg_2(0, 2, 1) * t2_2(1, 0)
66 + t3dg_2(0, 2, 2) * t2_2(2, 0) + t3dg_2(1, 2, 0) * t2_2(0, 1)
67 + t3dg_2(1, 2, 1) * t2_2(1, 1) + t3dg_2(1, 2, 2) * t2_2(2, 1)
68 + t3dg_2(2, 2, 0) * t2_2(0, 2) + t3dg_2(2, 2, 1) * t2_2(1, 2)
69 + t3dg_2(2, 2, 2) * t2_2(2, 2)),
70 "T2(k,j)*T3dg(j,i,k)(2)");