| 507 | //- Return the spherical part of a tensor |
| 508 | template<class Cmpt> |
| 509 | inline SphericalTensor<Cmpt> sph(const Tensor<Cmpt>& t) |
| 510 | { |
| 511 | return (1.0/3.0)*tr(t); |
| 512 | } |
| 513 | |
| 514 | |
| 515 | //- Return the symmetric part of a tensor |
no test coverage detected