Skip to content

Commit

Permalink
Update test_geometry.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tf17270 authored Mar 13, 2024
1 parent e287a0b commit 35e7788
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lyceanem/geometry/test_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,12 @@ def are_meshes_equal(mesh1, mesh2, rtol=1e-5):

# Check cells
if len(mesh1.cells) >0:

assert np.allclose(mesh1.cells[0].data, mesh2.cells[0].data)

for i in mesh1.point_data:
assert np.allclose(mesh1.point_data[i], mesh2.point_data[i])

for i in mesh1.cell_data:
assert np.allclose(mesh1.cell_data[i], mesh2.cell_data[i])


return True

def test_tri_areas():
refrence = np.load('areas.npy')
input = meshio.read('receive_horn.ply')
Expand Down

0 comments on commit 35e7788

Please sign in to comment.