Skip to content

Commit

Permalink
Docs: Show other triangulate mode in Mesh-Howto
Browse files Browse the repository at this point in the history
  • Loading branch information
adtzlr committed Aug 30, 2023
1 parent b8d9ff5 commit b93d2f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Binary file added docs/howto/images/cube-tetra-mode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/howto/meshgen.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,13 @@ Any quad or tetrahedron mesh may be subdivided (triangulated) to meshes out of T
.. image:: images/cube-tetra.png
:width: 400px

.. code-block:: python
cube = fem.Cube(n=5).triangulate(mode=0)
.. image:: images/cube-tetra-mode.png
:width: 400px

Meshes with midpoints
*********************

Expand Down

0 comments on commit b93d2f6

Please sign in to comment.