Re: [petsc-users] Getting the connectivity from DMPlex

2019-08-21 Thread Matthew Knepley via petsc-users
- 3ME > *Cc:* Jed Brown; petsc-users@mcs.anl.gov > *Subject:* Re: [petsc-users] Getting the connectivity from DMPlex > > On Wed, Aug 21, 2019 at 8:21 AM Jian Zhang - 3ME > wrote: > >> Hi Matthew, >> >> Thanks for your answer. I just looked at the pestc4py 3.11.

Re: [petsc-users] Getting the connectivity from DMPlex

2019-08-21 Thread Jian Zhang - 3ME via petsc-users
DMPlex? Best, Jian From: Matthew Knepley Sent: 21 August 2019 14:24:56 To: Jian Zhang - 3ME Cc: Jed Brown; petsc-users@mcs.anl.gov Subject: Re: [petsc-users] Getting the connectivity from DMPlex On Wed, Aug 21, 2019 at 8:21 AM Jian Zhang - 3ME mailto:j.zhang

Re: [petsc-users] Getting the connectivity from DMPlex

2019-08-21 Thread Jian Zhang - 3ME via petsc-users
To: Jian Zhang - 3ME Cc: Jed Brown; petsc-users@mcs.anl.gov Subject: Re: [petsc-users] Getting the connectivity from DMPlex On Wed, Aug 21, 2019 at 7:48 AM Jian Zhang - 3ME via petsc-users mailto:petsc-users@mcs.anl.gov>> wrote: Hi Jed, Thank you very much. I tried to use DMPlexGetCone, b

Re: [petsc-users] Getting the connectivity from DMPlex

2019-08-21 Thread Jed Brown via petsc-users
Jian Zhang - 3ME writes: > Hi Jed, > > Thank you very much. I tried to use DMPlexGetCone, but the output is > the edge ids, not the vertice ids. This means you have an interpolated mesh (edges represented explicitly in the data structure). > For the function DMPlexGetClosureIndices, I can not

Re: [petsc-users] Getting the connectivity from DMPlex

2019-08-21 Thread Jian Zhang - 3ME via petsc-users
Sent: 21 August 2019 13:42:41 To: Jian Zhang - 3ME; petsc-users@mcs.anl.gov Subject: Re: [petsc-users] Getting the connectivity from DMPlex Jian Zhang - 3ME via petsc-users writes: > Hi guys, > > I am trying to get the element connectivity from DMPlex. The input is the > element

Re: [petsc-users] Getting the connectivity from DMPlex

2019-08-21 Thread Jed Brown via petsc-users
Jian Zhang - 3ME via petsc-users 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 DMPlexGetClosureIndic

[petsc-users] Getting the connectivity from DMPlex

2019-08-21 Thread Jian Zhang - 3ME via petsc-users
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. Best, Jian