96767e75a3
P = damask.Orientation(lattice='cF').Schmid('slip') sigma = np.array([[1,0,0],[0,0,0],[0,0,0]]) sigma_extended = np.broadcast_to(sigma.reshape(damask.util.shapeshifter(sigma.shape,P.shape)), P.shape) tau = np.einsum('i...jk,i...jk->i...',sigma_extended,P) |
||
---|---|---|
.. | ||
legacy | ||
pre |