Skip to content

Commit

Permalink
Update matrix name after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jguarato committed Feb 27, 2024
1 parent f7e51bd commit 8b8f02f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ross/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ def newmark(fun, t, y_size, **options):
>>> C1 = rotor.C(speed)
>>> K1 = rotor.K(speed)
>>> C2 = rotor.G()
>>> K2 = rotor.Kst()
>>> K2 = rotor.Ksdt()
>>> rotor_system = lambda step: (M, C1 + C2 * speed, K1 + K2 * accel, F[step, :])
>>> yout = newmark(rotor_system, t, rotor.ndof)
>>> dof = 13
Expand Down Expand Up @@ -803,7 +803,7 @@ def integrate_rotor_system(rotor, speed, F, t, **kwargs):
C1 = rotor.C(0)
K1 = rotor.K(0)
C2 = rotor.G()
K2 = rotor.Kst()
K2 = rotor.Ksdt()

rotor_system = lambda step: (
M,
Expand Down Expand Up @@ -844,7 +844,7 @@ def build_matrices(elements, rotor_speed=None):
M0, C0, K0 = build_matrices(elements_without_bearing)

C2 = rotor.G()
K2 = rotor.Kst()
K2 = rotor.Ksdt()

def rotor_system(step):
M_bearing, C_bearing, K_bearing = build_matrices(
Expand Down

0 comments on commit 8b8f02f

Please sign in to comment.