<div dir="ltr"><div dir="ltr">On Sun, Nov 24, 2019 at 5:23 PM Peng Ding <<a href="mailto:ztdepyahoo@gmail.com">ztdepyahoo@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><br>
<div>
<div style="font-family:微软雅黑,Verdana,"Microsoft Yahei",SimSun,sans-serif;font-size:14px;line-height:1.6">
<div></div><div>
<div>
<span>Dear sir:
</span></div><div><span> I generate the 3D mesh with Tetgen for FVM computation. I reordered the cells and partitioned them with metis. Then i got an array which records the distribution of each cells. For example, on CPU -0., I have:</span></div><div><span> 1, 3, 6 , 7 ....11, 22......</span></div><div><span> But all these cells have non-continuos index, how to set the matrix in petsc.</span></div></div></div></div></div></div></blockquote><div><br></div><div>You will have to renumber them.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div><div style="font-family:微软雅黑,Verdana,"Microsoft Yahei",SimSun,sans-serif;font-size:14px;line-height:1.6"><div><div><span>Regards</span></div><div><span> </span></div>
<div>
<span>
<br>
</span>
</div>
<div id="gmail-m_-9435394098113564m_-1081078304126229963ntes-pcmac-signature" style="font-family:微软雅黑">
<div style="font-size:14px;padding:0px;margin:0px;line-height:14px">
<div style="padding-bottom:6px;margin-bottom:10px;border-bottom:1px solid rgb(230,230,230);display:inline-block">
<a href="https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?ftlId=1&name=ztdepyahoo&uid=ztdepyahoo%40gmail.com&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&items=%5B%22ztdepyahoo%40gmail.com%22%5D" style="display:block;background:rgb(255,255,255);max-width:400px;padding:15px 0px 10px;text-decoration:none;outline:none" target="_blank">
<table cellpadding="0" style="width:100%;max-width:100%;table-layout:fixed;border-collapse:collapse;color:rgb(155,158,161);font-size:14px;line-height:1.3">
<tbody style="word-wrap:break-word;word-break:break-all;font-family:"PingFang SC","Hiragino Sans GB","WenQuanYi Micro Hei","Microsoft Yahei",微软雅黑,verdana">
<tr>
<td width="38" style="padding:0px;box-sizing:border-box;width:38px">
<img width="38" height="38" style="vertical-align: middle; width: 38px; height: 38px; border-radius: 50%;" src="https://mail-online.nosdn.127.net/qiyelogo/defaultAvatar.png">
</td>
<td style="padding:0px 0px 0px 10px;color:rgb(49,53,59)">
<div style="font-size:16px;font-weight:bold;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis">ztdepyahoo</div>
</td>
</tr>
<tr width="100%" style="width:100%;font-size:14px">
<td colspan="2" style="padding:10px 0px 0px;width:100%;font-size:14px">
<div style="width:100%;word-wrap:break-word;word-break:break-all;font-size:14px">ztdepyahoo@gmail.com</div>
</td>
</tr>
</tbody>
</table>
</a>
</div>
</div>
<div style="font-size:12px;color:rgb(181,185,189);line-height:18px">
<span>签名由</span>
<a style="text-decoration:none;color:rgb(65,150,255);padding:0px 5px" href="https://mail.163.com/dashi/dlpro.html?from=mail81" target="_blank">网易邮箱大师</a>
<span>定制</span>
</div>
</div>
</div>
</div>
</div>
</div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>