reshaped F transpose error2
This commit is contained in:
parent
7d7927e821
commit
4f4d8d8c92
|
@ -62,10 +62,10 @@ def strain_tensor(F,t,m):
|
||||||
F_ = F.reshape(1,3,3)
|
F_ = F.reshape(1,3,3)
|
||||||
|
|
||||||
if t == 'V':
|
if t == 'V':
|
||||||
B = np.matmul(F_,F_[1].T)
|
B = np.matmul(F_,F_[0].T)
|
||||||
w,n = np.linalg.eigh(B)
|
w,n = np.linalg.eigh(B)
|
||||||
elif t == 'U':
|
elif t == 'U':
|
||||||
C = np.matmul(F_[1].T,F_)
|
C = np.matmul(F_[0].T,F_)
|
||||||
w,n = np.linalg.eigh(C)
|
w,n = np.linalg.eigh(C)
|
||||||
|
|
||||||
if m > 0.0:
|
if m > 0.0:
|
||||||
|
|
Loading…
Reference in New Issue