to_voigt#

mbgdml.stress.to_voigt(arr)[source]#

Convert array to Voigt notation.

Parameters:

arr (numpy.ndarray, shape: (3, 3)) – Virial, stress, pressor, etc. array.

Returns:

Array in Voigt notation.

Return type:

numpy.ndarray