<div dir="ltr"><div dir="ltr">On Mon, Mar 14, 2022 at 10:35 AM liluo <<a href="mailto:liluo@um.edu.mo">liluo@um.edu.mo</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 id="gmail-m_4284555906601831491divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Dear developers,</p>
<p>I created a DMDA object and obtain the local vector from a global vector by using <span>DMGlobalToLocalBegin/End.</span></p>
<p>How can I obtain the corresponding local matrix from the global matrix? </p>
<p>In my case, the global matrix is of MPIBAIJ type created by <span>DMCreateMatrix(da,MATBAIJ,&A);</span></p></div></div></blockquote><div>Are you asking for unassembled local matrices?</div><div><br></div><div>  Thanks,</div><div><br></div><div>    Matt <br></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 id="gmail-m_4284555906601831491divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Bests,</p>
<p>LI</p></div></div></blockquote></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>