[petsc-users] Shared vertices of DMPlex mesh
Matthew Knepley
knepley at gmail.com
Thu May 30 19:38:54 CDT 2019
On Thu, May 30, 2019 at 6:21 PM Swarnava Ghosh via petsc-users <
petsc-users at mcs.anl.gov> wrote:
> Hi PETSc users and developers,
>
> I am trying to find the list of vertices of a DMPlex mesh that is shared
> among processes and also the ranks of these processes. Thoughts on how to
> do this would be helpful.
>
The list of ghost points for a process is in the pointSF,
DMPlexGetPointSF(). You can get the owned points
which are ghosts on other processes using
https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PetscSF/PetscSFComputeDegreeBegin.html
Does that make sense?
Thanks,
Matt
> Sincerely,
> SG
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190530/896d5137/attachment.html>
More information about the petsc-users
mailing list