| 328 | //- Return the deviatoric part of a symmetric tensor |
| 329 | template<class Cmpt> |
| 330 | inline SymmTensor<Cmpt> dev2(const SymmTensor<Cmpt>& st) |
| 331 | { |
| 332 | return st - SphericalTensor<Cmpt>::twoThirdsI*tr(st); |
| 333 | } |
| 334 | |
| 335 | |
| 336 | //- Return the determinant of a symmetric tensor |