On Mon, Feb 20, 2012 at 16:18, recrusader <recrusader at gmail.com> wrote:
> Dear PETSc Developers, > > I have an MPIAIJ matrix, I want to use MatPartitioning functions to > repartition the matrix. > Before doing this, I need to do MatCreateMPIAdj to generate an Adj Mat. > Could you give me some hints about how to get "i" and "j" ( > http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatCreateMPIAdj.html) > from existing MPIAIJ matrix? MatConvert(), though some of the partitioning routines can do the conversion transparently on their own. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120220/b2c21c5a/attachment-0001.htm>
