| 259 | //- Return the deviatoric part of a symmetric tensor |
| 260 | template<class Cmpt> |
| 261 | inline SymmTensor2D<Cmpt> dev(const SymmTensor2D<Cmpt>& st) |
| 262 | { |
| 263 | return st - SphericalTensor2D<Cmpt>::oneThirdI*tr(st); |
| 264 | } |
| 265 | |
| 266 | |
| 267 | //- Return the deviatoric part of a symmetric tensor |