[petsc-users] DMPlex, is there an API to get a list of Boundary points?
Jed Brown
jed at jedbrown.org
Thu May 11 13:20:46 CDT 2023
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." <FERRANJ2 at my.erau.edu> 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): ferranj2 at my.erau.edu
>
> jesus.ferrand at gmail.com
More information about the petsc-users
mailing list