Skip to content

Commit 2ea9bf7

Browse files
authored
[Tutorial] Pass BarrierPotential instead of dhat (#127)
1 parent 858c0d9 commit 2ea9bf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/tutorial/getting_started.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,15 +369,15 @@ Computing the friction dissipative potential is similar to the barrier potential
369369

370370
ipc::FrictionCollisions friction_collisions;
371371
friction_collisions.build(
372-
collision_mesh, vertices, collisions, dhat, barrier_stiffness, mu);
372+
collision_mesh, vertices, collisions, B, barrier_stiffness, mu);
373373

374374
.. md-tab-item:: Python
375375

376376
.. code-block:: python
377377
378378
friction_collisions = ipctk.FrictionCollisions()
379379
friction_collisions.build(
380-
collision_mesh, vertices, collisions, dhat, barrier_stiffness, mu)
380+
collision_mesh, vertices, collisions, B, barrier_stiffness, mu)
381381
382382
Here ``mu`` (:math:`\mu`) is the (global) coefficient of friction, and ``barrier_stiffness`` (:math:`\kappa`) is the barrier stiffness.
383383

0 commit comments

Comments
 (0)