Skip to content

Commit

Permalink
fixes stiffness matrix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
donald e. boyce committed Feb 26, 2024
1 parent 081b3da commit 3a09e64
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hexrd/material/unitcell.py
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ def MakeStiffnessMatrix(self, inp_Cvals):
for j in range(i):
C[i, j] = C[j, i]

self.stifness = C
self.stiffness = C
self.compliance = np.linalg.inv(C)

def inside_spheretriangle(self, conn, dir3, hemisphere, switch):
Expand Down Expand Up @@ -1385,8 +1385,6 @@ def color_orientations(self,
rgb = self.color_directions(dir3, laueswitch)
return rgb

self.stiffness = C

def is_editable(self, lp_name):
"""
@author Saransh Singh, Lawrence Livermore National Lab
Expand Down

0 comments on commit 3a09e64

Please sign in to comment.