Skip to content

Commit

Permalink
new quad function + tests_21
Browse files Browse the repository at this point in the history
  • Loading branch information
felicio93 committed Jun 28, 2024
1 parent 6a05120 commit 19a547e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ocsmesh/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3184,11 +3184,11 @@ def quads_from_tri(msht) -> jigsaw_msh_t:

result = {key: value for key, value in duplicates.items() if len(value) > 1}

# separte the triangles to then be merged back to the quads
# separate the triangles to then be merged back to the quads
tris_drop=[]
for idxs in result.values():
tris_drop.append(idxs)
tris_drop = np.array(tris_drop).ravel()
tris_drop = np.array(tris_drop, dtype="int").ravel()
tris = np.delete(msht.tria3['index'], tris_drop,axis=0)

# combines all triangles that share 2 non-right angle vertices
Expand Down

0 comments on commit 19a547e

Please sign in to comment.