<div class="gmail_quote">On Mon, Feb 20, 2012 at 20:09, recrusader <span dir="ltr"><<a href="mailto:recrusader@gmail.com">recrusader@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":2ni">I am taking a look at ex15 (<a href="http://www.mcs.anl.gov/petsc/petsc-current/src/mat/examples/tutorials/ex15.c.html" target="_blank">http://www.mcs.anl.gov/petsc/petsc-current/src/mat/examples/tutorials/ex15.c.html</a>).<br>
I am very confused with this. In Section 3.5 Partitioning of the manual, one special Mat, that is 'adj', need to be established. <br>However, in ex15, the common matrix is created. Does the matrix automatically contain the connection information? </div>
</blockquote></div><br><div>Most (perhaps all?) of the partitioning implementations work with normal AIJ matrices. Internally, they usually have to convert to the MPIAdj because that is the interface to ParMETIS and others. Your code doesn't have to think about it.</div>