Skip to content

Interior edges not corretly selected for volume meshes when using 'in' predicate #67

Description

@cmuenger

Interior edges are not correctly selected using the 'in' predicate to subtract the boundary edges from all edges in a tetrahedral mesh.

Steps to reproduce:

using CompScienceMeshes
using PlotlyJS

M =  tetmeshsphere(1.0,0.5)
edges = skeleton(M,1)
bnd = boundary(M)
bnd_edges = skeleton(bnd,1)
int_edges = submesh(!in(bnd_edges),edges)

plot(wireframe(int_edges))

Possible workaround by using 'overlap' predicate:

using CompScienceMeshes
using PlotlyJS

M =  tetmeshsphere(1.0,0.5)
edges = skeleton(M,1)
bnd = boundary(M)
bnd_edges = skeleton(bnd,1)
overlap = (m,i) -> overlap_gpredicate(bnd_edges)(chart(m,i))
int_edges = submesh(!overlap,edges)

plot(wireframe(int_edges))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions