Module: tens¶
4 Classes¶
- class hexrd.tens.T2Vecds(vecds)[source]¶
Bases: hexrd.tens.T2Symm
- class hexrd.tens.T2Svec(val)[source]¶
Bases: hexrd.tens.T2Symm
- class hexrd.tens.T2SvecP(svecp)[source]¶
Bases: hexrd.tens.T2Symm
23 Functions¶
- hexrd.tens.vecdvToVecds(vecdv)[source]¶
convert from [t1,...,t5,v] to vecds[:] representation, where v is the relative volume
- hexrd.tens.symmToMVvec(A)[source]¶
convert from symmetric matrix to Mandel-Voigt vector representation (JVB)
- hexrd.tens.MVvecToSymm(A)[source]¶
convert from Mandel-Voigt vector to symmetric matrix representation (JVB)
- hexrd.tens.MVCOBMatrix(R)[source]¶
GenerateS array of 6 x 6 basis transformation matrices for the Mandel-Voigt tensor representation in 3-D given by:
- [A] = [[A_11, A_12, A_13],
- [A_12, A_22, A_23], [A_13, A_23, A_33]]
V
{A} = [A_11, A_22, A_33, sqrt(2)*A_23, sqrt(2)*A_13, sqrt(2)*A_12]
where the operation R * A *R.T (in tensor notation) is obtained by the matrix-vector product [T]*{A}.
USAGE
T = MVCOBMatrix(R)INPUTS
- R is (3, 3) an ndarray representing a change of basis matrix
OUTPUTS
- T is (6, 6), an ndarray of transformation matrices as described above
NOTES
- Compoments of symmetric 4th-rank tensors transform in a manner analogous to symmetric 2nd-rank tensors in full matrix notation.
SEE ALSO
symmToMVvec, quatToMat