[petsc-users] partition an MPIAIJ matrix

recrusader recrusader at gmail.com
Mon Feb 20 16:18:46 CST 2012


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?

Thank you very much,
Yujie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120220/3ed1ddd5/attachment.htm>


More information about the petsc-users mailing list