#include "petscthreadcomm.h" PetscErrorCode PetscThreadReductionBegin(MPI_Comm comm,PetscThreadCommReductionOp op, PetscDataType type,PetscThreadCommRedCtx *red)
| comm | - the MPI comm | |
| op | - the reduction operation | |
| type | - the data type for reduction | |
| red | - the reduction context |