petsc-3.3-p7 2013-05-11

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

See Also

MATIJ, MatIJSetEdges(), MatIJGetEdgesIS(), MatIJGetSupport(), MatIJGetImage()

Level:advanced
Location:
src/mat/impls/ij/matij.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages

Both assembled and unassembled edges are returned.- - For an assembled matrix the retrieved outgoing vertices are guaranteed to be locally-owned.