petsc-dev 2012-05-24
MatIJSetEdges
sets the edges in the 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__ "MatIJSetEdges"
PetscErrorCode MatIJSetEdges(Mat A, PetscInt len, const PetscInt *ixidx, const PetscInt *iyidx)
Not collective
Input parameters
| A | - pseudograph
|
| len | - length of vertex arrays
|
| ixidx | - list of outgoing vertices
|
| iyidx | - list of incoming vertices
|
Note