11 tensor t1(1, 2, 3, 4, 5, 6, 7, 8, 9);
12 tensor t2(1, 2, 3, 1, 2, 3, 1, 2, 3);
18 tensor t4(3,-2,1,-2,2,0,1, 0, 4);
25 tensor t6(1,0,-4,0,5,4,-4,4,3);
33 Info<<
"eigenvectors " << ev <<
endl;
35 Info<<
"Check determinant " <<
e.x()*
e.y()*
e.z() <<
" " <<
det(t6) <<
endl;
37 Info<<
"Check eigenvectors "
43 Info<<
"Check eigenvalues for symmTensor "
46 Info<<
"Check eigenvectors for symmTensor "
49 tensor t7(1, 2, 3, 2, 4, 5, 3, 5, 6);
51 Info<<
"Check transformation "
57 Info<<
"Check symmetric transformation "
60 Info<<
"Check dot product of symmetric tensors "
61 << (st1 & st2) <<
endl;
63 Info<<
"Check inner sqr of a symmetric tensor "
66 Info<<
"Check symmetric part of dot product of symmetric tensors "
67 <<
twoSymm(st1&st2) - ((st1&st2) + (st2&st1)) <<
endl;
70 Info<<
"Check dot product of symmetric and skew tensors "
71 <<
twoSymm(st1&sk1) - ((st1&sk1) - (sk1&st1)) <<
endl;