petsc-3.3-p7 2013-05-11
MatIJGetImage
retrieves the global indices of the graph's vertices of nonzero indegree on this processor (i.e., the global indices of this processor's nonzero columns). If the graph is regarded as a multivalued map on integers, this is the image of the map (the union of the images of this processor's support indices).
Synopsis
#undef __FUNCT__
#define __FUNCT__ "MatIJGetImage"
PetscErrorCode MatIJGetImage(Mat A, PetscInt *len, PetscInt **image)
Not collective
Input parameters
A - pseudograph
Output parameters
| len | - the length of the image array
|
| image | - the image array
|
Note
See Also
MATIJ, MatIJGetImageIS(), MatIJGetSupport(), MatIJGetMaxRowSize()
Level:intermediate
Location:src/mat/impls/ij/matij.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages
| This operation fails for a nonassembled matrix. | - - The caller is responsible for freeing the image array.
|