Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
tkoyama010 committed Dec 26, 2023
1 parent 420a787 commit ae215b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/pvgmsh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,12 @@ def delaunay_3d():
>>> _ = gmsh.model.geo.add_volume([1], 1)
>>> gmsh.model.geo.synchronize()
>>> gmsh.model.mesh.generate(3)
>>> element_types, element_tags, node_tags = gmsh.model.mesh.getElements()
>>> element_types
array([ 1, 2, 4, 15], dtype=int32)
>>> element_tags
>>> node_tags
>>> fp = tempfile.NamedTemporaryFile(mode="w+", suffix=".msh")
>>> gmsh.write(fp.name)
Expand Down
2 changes: 1 addition & 1 deletion src/pvgmsh/__main__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@

"""The pyvista-gmsh main module for PyVista accessors for Gmsh to generate 3D finite element mesh."""

0 comments on commit ae215b0

Please sign in to comment.