You can use MatGetRowIJ() (http://www-unix.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/Mat/MatGetRowIJ.html) and MatGetArray() (http://www-unix.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/Mat/MatGetArray.html#MatGetArray)
Hong On Sat, 25 Aug 2007, Ben Tay wrote: > Hi, > > May I know if there's a routine which can convert a matrix initially > created using MatCreateSeqAIJ to compressed row format (CSR) ? Then I > would like to view it in my visual fortran debugger. In other words, the > matrix is in standard array format, not Mat. > > Thanks > >
