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