| 227 | //- Return the trace of a symmetric tensor |
| 228 | template<class Cmpt> |
| 229 | inline Cmpt tr(const SymmTensor2D<Cmpt>& st) |
| 230 | { |
| 231 | return st.xx() + st.yy(); |
| 232 | } |
| 233 | |
| 234 | |
| 235 | //- Return the spherical part of a symmetric tensor |
no outgoing calls
no test coverage detected