Lines Matching refs:cp
1046 PetscInt *cp, i, k, low, high, t, row, col, l; in MatGetValues_SeqSELL() local
1056 cp = a->colidx + shift; /* pointer to the row */ in MatGetValues_SeqSELL()
1066 if (*(cp + a->sliceheight * t) > col) high = t; in MatGetValues_SeqSELL()
1070 if (*(cp + a->sliceheight * i) > col) break; in MatGetValues_SeqSELL()
1071 if (*(cp + a->sliceheight * i) == col) { in MatGetValues_SeqSELL()
1439 PetscInt i, shift, row_in_slice, row, nrow, *cp, lastcol, j, k; in MatAssemblyEnd_SeqSELL() local
1455 …cp = PetscSafePointerPlusOffset(a->colidx, shift); /* pointer to the column i… in MatAssemblyEnd_SeqSELL()
1467 …lastcol = cp[a->sliceheight * (nrow - 1) + row_in_slice]; /* use the index from the last nonzero a… in MatAssemblyEnd_SeqSELL()
1471 lastcol = cp[j]; in MatAssemblyEnd_SeqSELL()
1476 …if (a->sliidx[i + 1] != shift) lastcol = cp[row_in_slice - 1]; /* use the index from the previous … in MatAssemblyEnd_SeqSELL()
1480 cp[a->sliceheight * k + row_in_slice] = lastcol; in MatAssemblyEnd_SeqSELL()
1537 PetscInt *cp, nonew = a->nonew, lastcol = -1; in MatSetValues_SeqSELL() local
1550 cp = a->colidx + shift; /* pointer to the row */ in MatSetValues_SeqSELL()
1573 if (*(cp + a->sliceheight * t) > col) high = t; in MatSetValues_SeqSELL()
1577 if (*(cp + a->sliceheight * i) > col) break; in MatSetValues_SeqSELL()
1578 if (*(cp + a->sliceheight * i) == col) { in MatSetValues_SeqSELL()
1592 …sliidx, a->sliceheight, row / a->sliceheight, row, col, a->colidx, a->val, cp, vp, nonew, MatScala… in MatSetValues_SeqSELL()
1595 …sliidx, a->sliceheight, row / a->sliceheight, row, col, a->colidx, a->val, cp, vp, nonew, MatScala… in MatSetValues_SeqSELL()
1599 *(cp + a->sliceheight * (ii + 1)) = *(cp + a->sliceheight * ii); in MatSetValues_SeqSELL()
1603 *(cp + a->sliceheight * i) = col; in MatSetValues_SeqSELL()