Lines Matching refs:oshift
194 PetscErrorCode MatGetRowIJ_SeqAIJ(Mat A, PetscInt oshift, PetscBool symmetric, PetscBool inodecompr… in MatGetRowIJ_SeqAIJ() argument
204 …PetscCall(MatToSymmetricIJ_SeqAIJ(A->rmap->n, a->i, a->j, PETSC_TRUE, ishift, oshift, (PetscInt **… in MatGetRowIJ_SeqAIJ()
205 } else if (oshift == 1) { in MatGetRowIJ_SeqAIJ()
227 PetscErrorCode MatRestoreRowIJ_SeqAIJ(Mat A, PetscInt oshift, PetscBool symmetric, PetscBool inodec… in MatRestoreRowIJ_SeqAIJ() argument
231 if ((symmetric && A->structurally_symmetric != PETSC_BOOL3_TRUE) || oshift == 1) { in MatRestoreRowIJ_SeqAIJ()
238 PetscErrorCode MatGetColumnIJ_SeqAIJ(Mat A, PetscInt oshift, PetscBool symmetric, PetscBool inodeco… in MatGetColumnIJ_SeqAIJ() argument
248 …PetscCall(MatToSymmetricIJ_SeqAIJ(A->rmap->n, a->i, a->j, PETSC_TRUE, 0, oshift, (PetscInt **)ia, … in MatGetColumnIJ_SeqAIJ()
255 cia[0] = oshift; in MatGetColumnIJ_SeqAIJ()
264 cja[cia[col] + collengths[col]++ - oshift] = row + oshift; in MatGetColumnIJ_SeqAIJ()
274 PetscErrorCode MatRestoreColumnIJ_SeqAIJ(Mat A, PetscInt oshift, PetscBool symmetric, PetscBool ino… in MatRestoreColumnIJ_SeqAIJ() argument
289 PetscErrorCode MatGetColumnIJ_SeqAIJ_Color(Mat A, PetscInt oshift, PetscBool symmetric, PetscBool i… in MatGetColumnIJ_SeqAIJ_Color() argument
307 cia[0] = oshift; in MatGetColumnIJ_SeqAIJ_Color()
315 tmp = cia[col] + collengths[col]++ - oshift; in MatGetColumnIJ_SeqAIJ_Color()
317 cja[tmp] = row + oshift; in MatGetColumnIJ_SeqAIJ_Color()
327 PetscErrorCode MatRestoreColumnIJ_SeqAIJ_Color(Mat A, PetscInt oshift, PetscBool symmetric, PetscBo… in MatRestoreColumnIJ_SeqAIJ_Color() argument
330 PetscCall(MatRestoreColumnIJ_SeqAIJ(A, oshift, symmetric, inodecompressed, n, ia, ja, done)); in MatRestoreColumnIJ_SeqAIJ_Color()