Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tkoyama010 authored Sep 13, 2024
1 parent 8f7fe1c commit 0440cff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/skgmsh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def cell_size(self: Delaunay3D, size: int) -> None:
self._cell_size = size


class GmshGeometryManager: # noqa: D101
class Geometry2D: # noqa: D101
def __init__(self): # noqa: ANN204, D107
# List to store geometry elements
self.elements = []
Expand Down Expand Up @@ -503,7 +503,7 @@ def __str__(self) -> str:

# Example usage
# Create geometry, save to virtual file, and execute Gmsh
manager = GmshGeometryManager()
manager = Geometry2D()
manager.add_point(0, 0, 0, 1.0) # Point 1: Origin
manager.add_point(1, 0, 0, 1.0) # Point 2: X-axis
manager.add_point(1, 1, 0, 1.0) # Point 3: Perpendicular point
Expand Down

0 comments on commit 0440cff

Please sign in to comment.