Skip to content

Commit 5012482

Browse files
hugtalbotjnbrunet
authored andcommitted
[examples] Remove warning and dep (#107)
1 parent b9d1211 commit 5012482

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/example-forcefield.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ def addForce(self, m, out_force, pos, vel):
2424

2525
def addDForce(self, df, dx, params):
2626
pass
27-
#print(" Python::addDForce: ", params)
2827

2928
#def addKToMatrix(self, a, b):
3029
# print(" Python::addKToMatrix: ", a, " ", b)
@@ -33,9 +32,10 @@ def addDForce(self, df, dx, params):
3332
def createScene(node):
3433
node.addObject("RequiredPlugin", name="SofaOpenglVisual")
3534
node.addObject("RequiredPlugin", name="SofaSparseSolver")
35+
node.addObject("RequiredPlugin", name="SofaImplicitOdeSolver")
3636
node.addObject("OglLineAxis")
3737
node.addObject("DefaultAnimationLoop", name="loop")
38-
node.addObject("EulerImplicit")
38+
node.addObject("EulerImplicitSolver")
3939
node.addObject("CGLinearSolver", tolerance=1e-12, threshold=1e-12)
4040

4141
o = node.addChild("Object")

0 commit comments

Comments
 (0)