Skip to content

Commit

Permalink
replacing mmass with diagonalmass (initial idea of PR459) (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredroy authored Oct 17, 2024
1 parent 9514a08 commit b223ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/access_constraint_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def createScene(root):
mechanical_object = root.addObject("MechanicalObject", name="defoDOF", template="Vec3d")
root.addObject("EdgeSetGeometryAlgorithms", drawEdges=True)
root.addObject("FixedProjectiveConstraint", indices=[0])
root.addObject("MeshMatrixMass", name="mass", totalMass="1e-3", lumping=True)
root.addObject("DiagonalMass", name="mass", totalMass="1e-3")

ext = root.addChild("extensionsNode")
ext.addObject("MechanicalObject", template="Vec1d", name="extensionsDOF")
Expand Down

0 comments on commit b223ce2

Please sign in to comment.