| 235 | //- Return the spherical part of a symmetric tensor |
| 236 | template<class Cmpt> |
| 237 | inline SphericalTensor2D<Cmpt> sph(const SymmTensor2D<Cmpt>& st) |
| 238 | { |
| 239 | return (1.0/2.0)*tr(st); |
| 240 | } |
| 241 | |
| 242 | |
| 243 | //- Return the symmetric part of a symmetric tensor, i.e. itself |