From 5ce37c040236e5efa331f87c5e9a56f340078599 Mon Sep 17 00:00:00 2001 From: epernod Date: Thu, 14 Apr 2022 10:36:14 +0200 Subject: [PATCH] [Mass] Update scene and tests, handleTopologicalChanges is not anymore an option of UniformMass. Support is automatic if the mass is linked to a dynamic topology --- .../SolidMechanics/FEM/Elastic/tests/BeamFEMForceField_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sofa/Component/SolidMechanics/FEM/Elastic/tests/BeamFEMForceField_test.cpp b/Sofa/Component/SolidMechanics/FEM/Elastic/tests/BeamFEMForceField_test.cpp index 474bacb79ed..844cc71ef4c 100644 --- a/Sofa/Component/SolidMechanics/FEM/Elastic/tests/BeamFEMForceField_test.cpp +++ b/Sofa/Component/SolidMechanics/FEM/Elastic/tests/BeamFEMForceField_test.cpp @@ -92,7 +92,7 @@ class BeamFEMForceField_test : public BaseTest createObject(m_root, "EdgeSetGeometryAlgorithms", { {"template","Rigid3d"} }); createObject(m_root, "BeamFEMForceField", { {"Name","Beam"}, {"template", "Rigid3d"}, {"radius", str(radius)}, {"youngModulus", str(youngModulus)}, {"poissonRatio", str(poissonRatio)} }); - createObject(m_root, "UniformMass", { {"name","mass"}, {"totalMass","1.0"}, {"handleTopologicalChanges", "1" } }); + createObject(m_root, "UniformMass", { {"name","mass"}, {"totalMass","1.0"} }); createObject(m_root, "FixedConstraint", { {"name","fix"}, {"indices","0"} }); /// Init simulation