#include "petscsf.h" PetscErrorCode PetscSFBcastAndOpBegin(PetscSF sf,MPI_Datatype unit,const void *rootdata,void *leafdata,MPI_Op op)Collective on PetscSF
sf | - star forest on which to communicate | |
unit | - data type associated with each node | |
rootdata | - buffer to broadcast | |
op | - operation to use for reduction |
leafdata | - buffer to be reduced with values from each leaf's respective root |