Skip to content

Commit

Permalink
fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Krande committed Oct 24, 2024
1 parent 3a273f3 commit f84fd26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/ada/fem/meshing/concepts.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ def mesh(self, size: float = None, use_quads=False, use_hex=False, perform_quali

if use_quads is True or use_hex is True:
self.model.mesh.recombine()
self.model.mesh.removeDuplicateNodes()
self.model.mesh.remove_duplicate_elements()

def make_quads(self):
from ada.fem.meshing.partitioning.strategies import partition_objects_with_holes
Expand Down
2 changes: 0 additions & 2 deletions tests/core/fem/meshing/test_mesh_intersecting_edges.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ def test_beams_enclosing_beams(tmp_path):
for el in line_elem:
assert el.fem_sec is not None

a.fem.show()

def test_intersect_edge_midpoint():
corner_points = [(0, 0), (1, 0), (1, 1), (0, 1)]

Expand Down

0 comments on commit f84fd26

Please sign in to comment.