[petsc-users] partition an MPIAIJ matrix
Jed Brown
jedbrown at mcs.anl.gov
Mon Feb 20 16:20:49 CST 2012
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>
More information about the petsc-users
mailing list