[petsc-users] DMSWARM particle coordinates per rank
Does setting up a PIC-type DMSWARM with an associated cell DM guarantee that each MPI rank will own the particles with coordinates inside the bounds of the portion of the grid it owns? --Matt == Matthew Young, PhD (he/him) Research Scientist II Space Science Center University of New Hampshire matthew.yo...@unh.edu ==
Re: [petsc-users] DMPlex, is there an API to get a list of Boundary points?
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
[petsc-users] DMPlex, is there an API to get a list of Boundary points?
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