meshpro / meshplex

:spider_web: Compute interesting points, areas, and volumes in simplex meshes of any dimension.
104 stars 22 forks source link

mesh.boundary_edges missing #127

Closed griff10000 closed 3 years ago

griff10000 commented 3 years ago

Just upgraded meshplex and noticed that the code:

mesh = meshplex.MeshTri(pts, cells) bei = mesh.boundary_edges

throws the following error:

AttributeError: 'MeshTri' object has no attribute 'boundary_edges'

I have been using the data bei to identify boundary nodes.

Has this facility been replaced by something else?

griff10000 commented 3 years ago

It looks like the edges has now been changed to facets. So, bei = mesh.boundary_edges becomes bei = mesh.boundary_facets

nschloe commented 3 years ago

I didn't mean to break backwards compatibility. I'll add mesh.boundary_edges in the next release.