#include "petscsf.h" PetscErrorCode PetscSFFetchAndOpWithMemTypeBegin(PetscSF sf,MPI_Datatype unit,PetscMemType rootmtype,void *rootdata,PetscMemType leafmtype,const void *leafdata,PetscMemType leafupdatemtype,void *leafupdate,MPI_Op op)Collective
| sf | - star forest | |
| unit | - data type | |
| rootmtype | - memory type of rootdata | |
| leafmtype | - memory type of leafdata | |
| leafdata | - leaf values to use in reduction | |
| leafupdatemtype | - memory type of leafupdate | |
| op | - operation to use for reduction |
| rootdata | - root values to be updated, input state is seen by first process to perform an update | |
| leafupdate | - state at each leaf's respective root immediately prior to my atomic update |
Note: See PetscSFFetchAndOpBegin() for more details.