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

Level: intermediate

See Also

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

Location:../../../../include/petscsf.h