DAMASK_EICMD/processing
Martin Diehl 96767e75a3 can be done directly in the python library:
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)
2021-07-26 00:19:03 +02:00
..
legacy can be done directly in the python library: 2021-07-26 00:19:03 +02:00
pre cleaning 2021-03-27 07:35:49 +01:00