petsc-3.3-p7 2013-05-11

PetscSFGatherEnd

ends pointwise gather operation that was started with PetscSFGatherBegin()

Synopsis

PetscErrorCode PetscSFGatherEnd(PetscSF sf,MPI_Datatype unit,const void *leafdata,void *multirootdata)
Collective

Input Arguments

sf - star forest
unit - data type
leafdata - leaf data to gather to roots

Output Argument

multirootdata -root buffer to gather into, amount of space per root is equal to its degree

See Also

PetscSFComputeDegreeEnd(), PetscSFScatterEnd()

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

Examples

src/sys/sf/examples/tutorials/ex1.c.html