Skip to content

Commit b223ce2

Browse files
authored
replacing mmass with diagonalmass (initial idea of PR459) (#467)
1 parent 9514a08 commit b223ce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/access_constraint_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def createScene(root):
3333
mechanical_object = root.addObject("MechanicalObject", name="defoDOF", template="Vec3d")
3434
root.addObject("EdgeSetGeometryAlgorithms", drawEdges=True)
3535
root.addObject("FixedProjectiveConstraint", indices=[0])
36-
root.addObject("MeshMatrixMass", name="mass", totalMass="1e-3", lumping=True)
36+
root.addObject("DiagonalMass", name="mass", totalMass="1e-3")
3737

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

0 commit comments

Comments
 (0)