Skip to content

Commit a774162

Browse files
authored
Merge pull request #200 from bakpaul/25_08_apply_changes_from_5666
Apply changes from SOFA PR 5666 regarding GenericConstraintSolver
2 parents d42981c + d961af6 commit a774162

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/python3/Cochlear-Implant-Insertion/Scene_Cochlea.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def createScene(rootNode):
1515

1616
rootNode.addObject('DefaultVisualManagerLoop')
1717
rootNode.addObject('FreeMotionAnimationLoop')
18-
rootNode.addObject('GenericConstraintSolver', tolerance="1e-3", maxIterations="5000", resolutionMethod="UnbuiltGaussSeidel")
18+
rootNode.addObject('UnbuiltGaussSeidelConstraintSolver', tolerance="1e-3", maxIterations="5000")
1919
rootNode.addObject('CollisionPipeline', depth="6", verbose="0", draw="1")
2020
rootNode.addObject('BruteForceBroadPhase', name='N2')
2121
rootNode.addObject('BVHNarrowPhase')

examples/python3/component/BeamProjectionDifferenceMultiMapping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def createScene(rootnode):
2020
rootnode.dt.value = 0.01
2121

2222
rootnode.addObject('FreeMotionAnimationLoop')
23-
rootnode.addObject('GenericConstraintSolver', maxIterations=1000, tolerance=1e-3)
23+
rootnode.addObject('ProjectedGaussSeidelConstraintSolver', maxIterations=1000, tolerance=1e-3)
2424

2525
simulation = rootnode.addChild('Simulation')
2626
simulation.addObject('EulerImplicitSolver')

0 commit comments

Comments
 (0)