| 288 | //- Return the trace of a symmetric tensor |
| 289 | template<class Cmpt> |
| 290 | inline Cmpt tr(const SymmTensor<Cmpt>& st) |
| 291 | { |
| 292 | return st.xx() + st.yy() + st.zz(); |
| 293 | } |
| 294 | |
| 295 | |
| 296 | //- Return the spherical part of a symmetric tensor |
no outgoing calls
no test coverage detected