PetscSFScatterBegin

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

Synopsis

#include "petscsf.h" 
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

Level: intermediate

See Also

PetscSFComputeDegreeBegin(), PetscSFScatterBegin()

Location:sf.c