Lines Matching refs:rp

365   const PetscInt *rp, *ai = a->i, *ailen = a->ilen, *aj = a->j;  in MatSeqAIJSetValuesLocalFast()  local
373 rp = aj + ai[row]; in MatSeqAIJSetValuesLocalFast()
387 if (rp[t] > col) high = t; in MatSeqAIJSetValuesLocalFast()
391 if (rp[i] == col) { in MatSeqAIJSetValuesLocalFast()
405 PetscInt *rp, k, low, high, t, ii, row, nrow, i, col, l, rmax, N; in MatSetValues_SeqAIJ() local
418 rp = PetscSafePointerPlusOffset(aj, ai[row]); in MatSetValues_SeqAIJ()
436 if (rp[t] > col) high = t; in MatSetValues_SeqAIJ()
440 if (rp[i] > col) break; in MatSetValues_SeqAIJ()
441 if (rp[i] == col) { in MatSetValues_SeqAIJ()
456 …MatSeqXAIJReallocateAIJ_structure_only(A, A->rmap->n, 1, nrow, row, col, rmax, ai, aj, rp, imax, n… in MatSetValues_SeqAIJ()
458 …MatSeqXAIJReallocateAIJ(A, A->rmap->n, 1, nrow, row, col, rmax, aa, ai, aj, rp, ap, imax, nonew, M… in MatSetValues_SeqAIJ()
464 PetscCall(PetscArraymove(rp + i + 1, rp + i, N - i + 1)); in MatSetValues_SeqAIJ()
465 rp[i] = col; in MatSetValues_SeqAIJ()
482 PetscInt *rp, k, row; in MatSetValues_SeqAIJ_SortedFullNoPreallocation() local
494 rp = aj + ai[row]; in MatSetValues_SeqAIJ_SortedFullNoPreallocation()
497 PetscCall(PetscArraycpy(rp, in, n)); in MatSetValues_SeqAIJ_SortedFullNoPreallocation()
565 PetscInt *rp, k, row; in MatSetValues_SeqAIJ_SortedFull() local
575 rp = aj + ai[row]; in MatSetValues_SeqAIJ_SortedFull()
577 if (!A->was_assembled) PetscCall(PetscArraycpy(rp, in, n)); in MatSetValues_SeqAIJ_SortedFull()
596 PetscInt *rp, k, low, high, t, row, nrow, i, col, l, *aj = a->j; in MatGetValues_SeqAIJ() local
609 rp = PetscSafePointerPlusOffset(aj, ai[row]); in MatGetValues_SeqAIJ()
623 if (rp[t] > col) high = t; in MatGetValues_SeqAIJ()
627 if (rp[i] > col) break; in MatGetValues_SeqAIJ()
628 if (rp[i] == col) { in MatGetValues_SeqAIJ()
5494 PetscInt *rp, k, low, high, t, ii, row, nrow, i, col, l, rmax, N; in matsetvaluesseqaij_() local
5513 rp = aj + ai[row]; in matsetvaluesseqaij_()
5533 if (rp[t] > col) high = t; in matsetvaluesseqaij_()
5537 if (rp[i] > col) break; in matsetvaluesseqaij_()
5538 if (rp[i] == col) { in matsetvaluesseqaij_()
5547 …MatSeqXAIJReallocateAIJ(A, A->rmap->n, 1, nrow, row, col, rmax, aa, ai, aj, rp, ap, imax, nonew, M… in matsetvaluesseqaij_()
5553 rp[ii + 1] = rp[ii]; in matsetvaluesseqaij_()
5556 rp[i] = col; in matsetvaluesseqaij_()