Skip to content

Commit

Permalink
Fix Kdt disk matrix for 6dof
Browse files Browse the repository at this point in the history
  • Loading branch information
jguarato committed May 14, 2024
1 parent e96dd1e commit a553b87
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ross/disk_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,17 +667,17 @@ def Kdt(self):
[0. , 0. , 0. , 0. , 0. , 0. ],
[0. , 0. , 0. , 0. , 0. , 0. ],
[0. , 0. , 0. , 0. , 0. , 0. ],
[0. , 0. , 0. , 0. , 0. , 0. ],
[0. , 0. , 0. , 0.33, 0. , 0. ]])
[0. , 0. , 0. , 0.33, 0. , 0. ],
[0. , 0. , 0. , 0. , 0. , 0. ]])
"""
Ip = self.Ip
# fmt: off
Kdt = np.array([[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
[0, 0, 0, Ip, 0, 0]])
[0, 0, 0, Ip, 0, 0],
[0, 0, 0, 0, 0, 0]])
# fmt: on
return Kdt

Expand Down

0 comments on commit a553b87

Please sign in to comment.