1 #include "../../../src/FTensor.hpp"
2 #include "../test_for_zero.hpp"
15 t3dg_3_1(
i,
j,
k) = t3dg_3(
i,
j,
k);
16 t3dg_3_1(
i,
j,
k) += t3dg_2(
i,
j,
k);
17 for (
int ii = 0; ii != 3;++ii)
18 for (
int jj = 0; jj != 3;++jj)
19 for (
int kk = 0; kk != 3;++kk) {
22 "T3(i,j,k)+=T3(i,j,k)(" + to_string(ii) +
"," +
23 to_string(jj) +
"," + to_string(kk) +
")");
26 t3dg_3_2(
i,
j,
k) = t3dg_3_1(
i,
j,
k);
27 t3dg_3_2(
i,
j,
k) -= t3dg_3_1(
i,
j,
k);
28 for (
int ii = 0; ii != 3;++ii)
29 for (
int jj = 0; jj != 3;++jj)
30 for (
int kk = 0; kk != 3;++kk) {
33 "T3(i,j,k)-=T3(i,j,k)(" + to_string(ii) +
"," +
34 to_string(jj) +
"," + to_string(kk) +
")");