petsc-3.14.6 2021-03-30
Report Typos and Errors

PetscSFBcastBegin

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

Synopsis

PETSC_STATIC_INLINE 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(), PetscSFBcastAndOpBegin()

Level

intermediate

Location

src/vec/is/sf/../../../../include/petscsf.h

Examples

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

Index of all PetscSF routines
Table of Contents for all manual pages
Index of all manual pages