Lines Matching refs:rowstart
687 …PetscInt n = stash->n, bs = stash->bs, bs2 = bs * bs, cnt, *row, *col, *perm, rowstart, … in MatStashSortCompress_Private() local
704 for (rowstart = 0, cnt = 0, i = 1; i <= n; i++) { in MatStashSortCompress_Private()
705 if (i == n || row[i] != row[rowstart]) { /* Sort the last row. */ in MatStashSortCompress_Private()
707 PetscCall(PetscSortIntWithArray(i - rowstart, &col[rowstart], &perm[rowstart])); in MatStashSortCompress_Private()
708 … for (colstart = rowstart; colstart < i;) { /* Compress multiple insertions to the same location */ in MatStashSortCompress_Private()
712 block->row = row[rowstart]; in MatStashSortCompress_Private()
724 rowstart = i; in MatStashSortCompress_Private()
853 PetscCount i, rowstart; in MatStashScatterBegin_BTS() local
857 for (rowstart = 0; rowstart < nblocks;) { in MatStashScatterBegin_BTS()
859 …MatStashBlock *sendblock_rowstart = (MatStashBlock *)&sendblocks[rowstart * stash->blocktype_size]; in MatStashScatterBegin_BTS()
863 …for (i = rowstart + 1; i < nblocks; i++) { /* Move forward through a run of blocks with the same o… in MatStashScatterBegin_BTS()
869 rowstart = i; in MatStashScatterBegin_BTS()
875 for (rowstart = 0; rowstart < nblocks;) { in MatStashScatterBegin_BTS()
878 …MatStashBlock *sendblock_rowstart = (MatStashBlock *)&sendblocks[rowstart * stash->blocktype_size]; in MatStashScatterBegin_BTS()
884 …for (i = rowstart + 1; i < nblocks; i++) { /* Move forward through a run of blocks with the same o… in MatStashScatterBegin_BTS()
891 PetscCall(PetscIntCast(i - rowstart, &stash->sendhdr[sendno].count)); in MatStashScatterBegin_BTS()
893 rowstart = i; in MatStashScatterBegin_BTS()