From b223ce2082b25d2d2fc5dd981c6895f5cabd55de Mon Sep 17 00:00:00 2001 From: Frederick Roy Date: Thu, 17 Oct 2024 20:16:53 +0900 Subject: [PATCH] replacing mmass with diagonalmass (initial idea of PR459) (#467) --- examples/access_constraint_matrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/access_constraint_matrix.py b/examples/access_constraint_matrix.py index e8caae07..f12d9784 100644 --- a/examples/access_constraint_matrix.py +++ b/examples/access_constraint_matrix.py @@ -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")