Skip to content

Commit

Permalink
Update _multipoint.py
Browse files Browse the repository at this point in the history
  • Loading branch information
adtzlr committed Oct 18, 2024
1 parent ecc22c1 commit 90db4e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/felupe/mechanics/_multipoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ class MultiPointContact:
... )
>>> mesh.plot(plotter=contact.plot(plotter=plotter)).show()
The mesh is fixed on the left end face and a ramped :class:`~felupe.PointLoad` is
The mesh is fixed on the left end face and a ramped :class:`~felupe.Boundary` is
applied on the center-point of the :class:`~felupe.MultiPointContact`. All items
are added to a :class:`~felupe.Step` and a :class:`~felupe.Job` is evaluated.
Expand All @@ -326,11 +326,11 @@ class MultiPointContact:
... "control": fem.Boundary(displacement, fx=2, skip=(1, 0, 0)),
... "move": fem.Boundary(displacement, fx=2, skip=(0, 1, 1)),
... }
>>> load = fem.PointLoad(field, points=[-1])
>>> table = fem.math.linsteps([0, -1, -1.5], num=5)
>>>
>>> step = fem.Step(
... [solid, contact], boundaries=boundaries, ramp={boundaries["move"]: table}
... [solid, contact],
... boundaries=boundaries,
... ramp={boundaries["move"]: table},
... )
>>> job = fem.Job([step]).evaluate()
Expand Down

0 comments on commit 90db4e8

Please sign in to comment.