Skip to content

Commit 1ea2f50

Browse files
committed
Update only example.
1 parent fe45abb commit 1ea2f50

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

examples/00-post_processing/post_processing.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,9 @@
250250
# ~~~~~~~~~~~~~~~~
251251
# Create a pathlines on a predefined surface.
252252

253-
pathlines = Pathline(
254-
solver=solver_session,
255-
field="velocity-magnitude",
256-
surfaces=["inlet", "inlet1", "inlet2"],
257-
)
253+
pathlines = Pathline(solver=solver_session)
254+
pathlines.field = "velocity-magnitude"
255+
pathlines.surfaces = ["inlet", "inlet1", "inlet2"]
258256

259257
graphics_window = GraphicsWindow()
260258
graphics_window.add_graphics(pathlines)

0 commit comments

Comments
 (0)