Skip to content

Commit

Permalink
[Mass] Update scene and tests, handleTopologicalChanges is not anymor…
Browse files Browse the repository at this point in the history
…e an option of UniformMass. Support is automatic if the mass is linked to a dynamic topology
  • Loading branch information
epernod committed May 13, 2022
1 parent 4d23438 commit 5ce37c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5ce37c0

Please sign in to comment.