petsc-3.3-p7 2013-05-11

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

See Also

MATIJ, MatIJSetEdgesIS(), MatIJGetEdges(), MatIJGetSupport(), MatIJGetImage()

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

Examples

src/mat/examples/tutorials/ex14.c.html
This will cause the matrix to be be put in an unassembled state.- - Edges are assembled during MatAssembly -- moved to the processor owning the outgoing vertex.