<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Hi Jed,</p>
<p>Thank you very much. I tried to use DMPlexGetCone, but the output is the edge ids, not the vertice ids. For the function <span>DMPlexGetClosureIndices, I can not find it in petsc4py. Do you know any alternative ways to solve this?</span></p>
<p>Best,</p>
<p>Jian</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Jed Brown <jed@jedbrown.org><br>
<b>Sent:</b> 21 August 2019 13:42:41<br>
<b>To:</b> Jian Zhang - 3ME; petsc-users@mcs.anl.gov<br>
<b>Subject:</b> Re: [petsc-users] Getting the connectivity from DMPlex</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Jian Zhang - 3ME via petsc-users <petsc-users@mcs.anl.gov> writes:<br>
<br>
> Hi guys,<br>
><br>
> 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.<br>
<br>
See DMPlexGetCone or DMPlexGetClosureIndices.<br>
</div>
</span></font>
</body>
</html>