Skip to content

Commit

Permalink
init test_connec
Browse files Browse the repository at this point in the history
  • Loading branch information
j042 committed Jan 8, 2024
1 parent de76501 commit de536f0
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gustaf/utils/connec.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ def edges_to_polygons(outline_edges, return_edges=False, max_polygons=100):
Organize outline edges, so that it describes a polygon.
Edges are expected to be extracted using `gus.Mesh.edges`, from
wind-consistent meshes.
Could utilizes `scipy.sparse.coo_matrix`, but we don't.
Could utilizes `scipy.sparse.coo_matrix`, alternatively.
Parameters
-----------
Expand Down
29 changes: 29 additions & 0 deletions tests/test_utils/test_connec.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import gustaf as gus


def one_polygon():
"""
edge connectivity with one polygon
"""
pass

def two_polygons():
"""
"""
pass

def one_line():
"""
"""
pass

def two_lines():
"""
"""
pass


def test_edges_to_polygons():
"""
"""
pass

0 comments on commit de536f0

Please sign in to comment.