Hi Jed,

Thank you very much. I tried to use DMPlexGetCone, but the output is the edge 
ids, not the vertice ids. For the function DMPlexGetClosureIndices, I can not 
find it in petsc4py. Do you know any alternative ways to solve this?

Best,

Jian

________________________________
From: Jed Brown <[email protected]>
Sent: 21 August 2019 13:42:41
To: Jian Zhang - 3ME; [email protected]
Subject: Re: [petsc-users] Getting the connectivity from DMPlex

Jian Zhang - 3ME via petsc-users <[email protected]> writes:

> Hi guys,
>
> I am trying to get the element connectivity from DMPlex. The input is the 
> element id, and the output should be the vertice ids. Which function should I 
> use to achieve this? Thanks in advance.

See DMPlexGetCone or DMPlexGetClosureIndices.

Reply via email to