petsc-3.3-p7 2013-05-11

PetscSFGetGraph

Get the graph specifying a parallel star forest

Synopsis

PetscErrorCode PetscSFGetGraph(PetscSF sf,PetscInt *nroots,PetscInt *nleaves,const PetscInt **ilocal,const PetscSFNode **iremote)
Collective

Input Arguments

sf - star forest
nroots - number of root vertices on the current process (these are possible targets for other process to attach leaves)
nleaves - number of leaf vertices on the current process, each of these references a root on any process
ilocal - locations of leaves in leafdata buffers
iremote - remote locations of root vertices for each leaf on the current process

See Also

PetscSFCreate(), PetscSFView(), PetscSFSetGraph()

Level:intermediate
Location:
src/sys/sf/sf.c
Index of all PetscSF routines
Table of Contents for all manual pages
Index of all manual pages