35 return 1.0/3.0 * ( evals[0] + evals[1] + evals[2] );
Interface to compute various measures on tensors.
WMD()
Creates an object to perform the computation.
virtual double tensorToScalar(const WVector3d &evals, const WTensorSym< 2, 3, float > &tensor)
Actual MD computation takes place inhere.
This is a base class for everything which has a Name,Description,Icon and Properties (=NDIP).
Implements a symmetric tensor that has the same number of components in every direction.