petsc-3.6.4 2016-04-12
Report Typos and Errors

PetscSFBcastBegin

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

Synopsis

#include "petscsf.h" 
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/vec/is/sf/interface/sf.c
Index of all PetscSF routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/vec/is/sf/examples/tutorials/ex1.c.html
src/vec/is/sf/examples/tutorials/ex2.c.html
src/ts/examples/tutorials/ex11.c.html