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