Skip to content

Commit

Permalink
Merge pull request #83 from btalamini/keep_contact_examples_working
Browse files Browse the repository at this point in the history
Fix example with unrestrained block contacting and sliding
  • Loading branch information
btalamini authored Feb 28, 2024
2 parents c72a37c + fe0a0fb commit de3f241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/friction/CornerSlide.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def run(self):
p = Objective.Params( p[0].at[0].set(forceRatio) )
print('force ratio = ', forceRatio)

Uu = AlSolver.augmented_lagrange_solve(objective, Uu, p, alSettings, settings)
Uu = AlSolver.augmented_lagrange_solve(objective, Uu, p, alSettings, settings, useWarmStart=False)

outputForce.append(forceRatio)
outputDisp.append( np.average(self.create_field(Uu, p)[:,0]) )
Expand Down

0 comments on commit de3f241

Please sign in to comment.