#include "petscsf.h" PetscErrorCode PetscSFReduceWithMemTypeBegin(PetscSF sf,MPI_Datatype unit,PetscMemType leafmtype,const void *leafdata,PetscMemType rootmtype,void *rootdata,MPI_Op op)Collective
sf | - star forest | |
unit | - data type | |
leafmtype | - memory type of leafdata | |
leafdata | - values to reduce | |
rootmtype | - memory type of rootdata | |
op | - reduction operation |
rootdata | - result of reduction of values from all leaves of each root |