petsc-3.3-p7 2013-05-11

PetscSFScatterBegin

begin pointwise scatter operation from multi-roots to leaves, to be completed with PetscSFScatterEnd()

Synopsis

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

Input Arguments

sf - star forest
unit - data type
multirootdata - root buffer to send to each leaf, one unit of data per leaf

Output Argument

leafdata -leaf data to be update with personal data from each respective root

See Also

PetscSFComputeDegreeBegin(), PetscSFScatterBegin()

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