Searched refs:mop (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/vec/is/sf/tutorials/ |
| H A D | ex1.c | 45 MPI_Op mop = MPI_OP_NULL; /* initialize to prevent compiler warnings with cxx_quad build */ in main() local 65 mop = MPI_SUM; in main() 69 if (strflg) mop = MPIU_SUM; in main() 71 if (strflg) mop = MPI_PROD; in main() 73 if (strflg) mop = MPI_MAX; in main() 75 if (strflg) mop = MPI_MIN; in main() 77 if (strflg) mop = MPI_LAND; in main() 79 if (strflg) mop = MPI_BAND; in main() 81 if (strflg) mop = MPI_LOR; in main() 83 if (strflg) mop = MPI_BOR; in main() [all …]
|
| /petsc/src/vec/vec/utils/ |
| H A D | vscat.c | 44 MPI_Op mop = MPI_OP_NULL; in VecScatterBegin_Internal() local 64 if (addv == INSERT_VALUES) mop = MPI_REPLACE; in VecScatterBegin_Internal() 65 …else if (addv == ADD_VALUES) mop = MPIU_SUM; /* PETSc defines its own MPI datatype and SUM operati… in VecScatterBegin_Internal() 66 else if (addv == MAX_VALUES) mop = MPIU_MAX; in VecScatterBegin_Internal() 67 else if (addv == MIN_VALUES) mop = MPIU_MIN; in VecScatterBegin_Internal() 71 …educeWithMemTypeBegin(wsf, sf->vscat.unit, xmtype, sf->vscat.xdata, ymtype, sf->vscat.ydata, mop)); in VecScatterBegin_Internal() 73 …BcastWithMemTypeBegin(wsf, sf->vscat.unit, xmtype, sf->vscat.xdata, ymtype, sf->vscat.ydata, mop)); in VecScatterBegin_Internal() 81 MPI_Op mop = MPI_OP_NULL; in VecScatterEnd_Internal() local 89 if (addv == INSERT_VALUES) mop = MPI_REPLACE; in VecScatterEnd_Internal() 90 else if (addv == ADD_VALUES) mop = MPIU_SUM; in VecScatterEnd_Internal() [all …]
|
| /petsc/src/ksp/pc/impls/bddc/ |
| H A D | bddcprivate.c | 2096 PetscErrorCode PCBDDCConsistencyCheckIS(PC pc, MPI_Op mop, IS *is) in PCBDDCConsistencyCheckIS() argument 2104 …PetscCheck(mop == MPI_LAND || mop == MPI_LOR, PetscObjectComm((PetscObject)pc), PETSC_ERR_SUP, "Su… in PCBDDCConsistencyCheckIS() 2105 if (mop == MPI_LAND) { in PCBDDCConsistencyCheckIS() 2117 PetscCall(PetscSFReduceBegin(matis->sf, MPIU_INT, matis->sf_leafdata, matis->sf_rootdata, mop)); in PCBDDCConsistencyCheckIS() 2118 PetscCall(PetscSFReduceEnd(matis->sf, MPIU_INT, matis->sf_leafdata, matis->sf_rootdata, mop)); in PCBDDCConsistencyCheckIS() 2121 if (mop == MPI_LAND) { in PCBDDCConsistencyCheckIS()
|