<div dir="ltr">Ah ok. Thanks. :)</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 6, 2016 at 10:42 AM, Jed Brown <span dir="ltr"><<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">"K. N. Ramachandran" <<a href="mailto:knram06@gmail.com">knram06@gmail.com</a>> writes:<br>
<br>
</span><span class="">> Hello Jed, Barry,<br>
><br>
> Thanks for the inputs. Yes, I am trying to spot duplicate sparse Matrices<br>
> basically and avoid storing if possible. MatGetNonzeroState() seems useful<br>
> here and I'll take a closer look.<br>
><br>
> I couldn't find the PetscObjectGetState() though from the available API (<br>
> <a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/singleindex.html" rel="noreferrer" target="_blank">http://www.mcs.anl.gov/petsc/<wbr>petsc-current/docs/<wbr>manualpages/singleindex.html</a>).<br>
> Was there another closely related function I should take a look at?<br>
<br>
</span><a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscObjectStateGet.html" rel="noreferrer" target="_blank">http://www.mcs.anl.gov/petsc/<wbr>petsc-current/docs/<wbr>manualpages/Sys/<wbr>PetscObjectStateGet.html</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">K.N.Ramachandran<br><div>Ph: 814-441-4279</div></div></div>
</div>