petsc-dev 2012-05-24
MatIJGetEdges
retrieves the edges from a pseudograph matrix. The edges are specified as two integer arrays of vertices of equal length: outgoing and incoming vertices (ix -> iy).
Synopsis
#undef __FUNCT__
#define __FUNCT__ "MatIJGetEdges"
PetscErrorCode MatIJGetEdges(Mat A, PetscInt *len, PetscInt **ixidx, PetscInt **iyidx)
Not collective
Input parameters
| A | - pseudograph
|
Output parameters
| len | - length of vertex arrays
|
| ixidx | - list of outgoing vertices
|
| iyidx | - list of incoming vertices
|
Notes