petsc-3.3-p7 2013-05-11

PetscSFBcastBegin

begin pointwise broadcast to be concluded with call to PetscSFBcastEnd()

Synopsis

PetscErrorCode PetscSFBcastBegin(PetscSF sf,MPI_Datatype unit,const void *rootdata,void *leafdata)
Collective on PetscSF

Input Arguments

sf - star forest on which to communicate
unit - data type associated with each node
rootdata - buffer to broadcast

Output Arguments

leafdata -buffer to update with values from each leaf's respective root

See Also

PetscSFCreate(), PetscSFSetGraph(), PetscSFView(), PetscSFBcastEnd(), PetscSFReduceBegin()

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