Lines Matching refs:insertmode
460 …PetscCallMPI(MPIU_Allreduce((PetscEnum *)&mat->insertmode, (PetscEnum *)&addv, 1, MPIU_ENUM, MPI_B… in MatStashScatterBegin_Ref()
462 mat->insertmode = addv; /* in case this processor had no cache */ in MatStashScatterBegin_Ref()
684 static PetscErrorCode MatStashSortCompress_Private(MatStash *stash, InsertMode insertmode) in MatStashSortCompress_Private() argument
716 if (insertmode == ADD_VALUES) { in MatStashSortCompress_Private()
829 …PetscCallMPI(MPIU_Allreduce((PetscEnum *)&mat->insertmode, (PetscEnum *)&addv, 1, MPIU_ENUM, MPI_B… in MatStashScatterBegin_BTS()
834 PetscCall(MatStashSortCompress_Private(stash, mat->insertmode)); in MatStashScatterBegin_BTS()
900 if (mat->insertmode == INSERT_VALUES) { in MatStashScatterBegin_BTS()
927 stash->insertmode = &mat->insertmode; in MatStashScatterBegin_BTS()
953 …if (PetscUnlikely(*stash->insertmode == NOT_SET_VALUES)) *stash->insertmode = block->row < 0 ? INS… in MatStashScatterGetMesg_BTS()
954 …PetscCheck(*stash->insertmode != INSERT_VALUES || block->row < 0, PETSC_COMM_SELF, PETSC_ERR_ARG_W… in MatStashScatterGetMesg_BTS()
955 …PetscCheck(*stash->insertmode != ADD_VALUES || block->row >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_WRO… in MatStashScatterGetMesg_BTS()