| 267 | //- Return the deviatoric part of a symmetric tensor |
| 268 | template<class Cmpt> |
| 269 | inline SymmTensor2D<Cmpt> dev2(const SymmTensor2D<Cmpt>& st) |
| 270 | { |
| 271 | return st - SphericalTensor2D<Cmpt>::twoThirdsI*tr(st); |
| 272 | } |
| 273 | |
| 274 | |
| 275 | //- Return the determinant of a symmetric tensor |