Skip to content

Commit

Permalink
Better describe unstructured points example
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed May 15, 2023
1 parent c688fcb commit e83b99a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions doc/vtk.rst
Expand Up @@ -17,8 +17,14 @@ Writing a structured mesh
:download:`examples/vtk-structured-2d-plain.py <../examples/vtk-structured-2d-plain.py>` in the PyVisfile
source distribution.)

Writing an unstructured mesh
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Writing a collection of points
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. note::

Observe that this is written as a 'unstructured grid', even though there
is not much grid here. However, by supplying connectivity data, it is
possible to generalize from this to actual unstructured meshes.

.. literalinclude:: ../examples/vtk-unstructured-points.py

Expand Down

0 comments on commit e83b99a

Please sign in to comment.