Boundary faces are often labeled already on a mesh, but you can use this to set
a label for all boundary faces.
https://petsc.org/main/manualpages/DMPlex/DMPlexMarkBoundaryFaces/
"Ferrand, Jesus A." writes:
> Greetings.
>
> I terms of dm-plex terminology, I need a list points corresponding to the
> boundary (i.e., height-1 points whose support is of size 1).
> Sorry if this is trivial, but I've been looking at the list of APIs for
> DM-Plex and couldn't find/discern something that addresses this need.
>
> I guess I could loop through all height-1 points and call
> DMPlexGetSupportSize() and assemble said list manually.
> The assumption for the plex I'm working with is that it has had
> DMPlexInterpolate()called on it.
>
>
> Sincerely:
>
> J.A. Ferrand
>
> Embry-Riddle Aeronautical University - Daytona Beach - FL
> Ph.D. Candidate, Aerospace Engineering
>
> M.Sc. Aerospace Engineering
>
> B.Sc. Aerospace Engineering
>
> B.Sc. Computational Mathematics
>
>
> Phone: (386)-843-1829
>
> Email(s): ferra...@my.erau.edu
>
> jesus.ferr...@gmail.com