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