Skip to content

Commit

Permalink
Merge pull request #618 from donald-e-boyce/fix-stiffness
Browse files Browse the repository at this point in the history
fixes stiffness matrix typo
  • Loading branch information
psavery authored Feb 27, 2024
2 parents 081b3da + 3a09e64 commit 08a7eeb
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 08a7eeb

Please sign in to comment.