Re: [petsc-users] DMLabel to extract height-0 points by their DMPolytope value

2023-05-24 Thread Matthew Knepley
On Tue, May 23, 2023 at 8:44 PM Ferrand, Jesus A. wrote: > Dear PETSc team: > > I am trying to use DMPlex and DMLabel to develop an API to write plexes to > .cgns format in parallel. > To that end, I need a way to extract the height-0 points and sort them by > topological type (i.e., chunk of tet

[petsc-users] DMLabel to extract height-0 points by their DMPolytope value

2023-05-23 Thread Ferrand, Jesus A.
Dear PETSc team: I am trying to use DMPlex and DMLabel to develop an API to write plexes to .cgns format in parallel. To that end, I need a way to extract the height-0 points and sort them by topological type (i.e., chunk of tetrahedra, followed by chunk of pyramids, etc.). I figured I could us