MatRestoreRowIJF90#
restores the compressed row storage i and j indices for the local rows of a sparse matrix obtained with MatGetRowIJF90()
Synopsis#
Not Collective
Input Parameters#
- A - the matrix 
- shift - 0 or 1 indicating we want the indices starting at 0 or 1 
- symmetric - - PETSC_TRUEor- PETSC_FALSEindicating the matrix data structure should be symmetrized inodecompressed -- PETSC_TRUEor- PETSC_FALSEindicating if the nonzero structure of the inodes or the nonzero elements is wanted. For- MATBAIJmatrices the compressed version is always used.
- n - number of local rows in the (possibly compressed) matrix 
- ia - the row pointers; that is ia[0] = 0, ia[row] = ia[row-1] + number of elements in that row of the matrix 
- ja - the column indices 
- done - indicates if the routine actually worked and returned appropriate ia[] and ja[] arrays; callers are responsible for handling the case when done == - PETSC_FALSEand ia and ja are not set
See Also#
Matrices, Routines that Return Fortran Allocatable Arrays, Mat, MATMPIAIJ, MatGetRowIJ(), MatRestoreRowIJ(), MatGetRowIJF90()
Level#
developer
Location#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages