Lines Matching refs:rowstart
10 …i, *aj = a->j, m = A->rmap->N, n = A->cmap->n, i, j, k, *bi, *bj, *rowlengths, nz, *rowstart, itmp; in MatConvert_SeqSBAIJ_SeqAIJ() local
17 PetscCall(PetscMalloc2(m, &rowlengths, m + 1, &rowstart)); in MatConvert_SeqSBAIJ_SeqAIJ()
55 rowstart[0] = 0; in MatConvert_SeqSBAIJ_SeqAIJ()
59 rowstart[i * bs + j + 1] = rowstart[i * bs + j] + rowlengths[i * bs]; in MatConvert_SeqSBAIJ_SeqAIJ()
76 *(bj + rowstart[itmp]) = (*aj) * bs + k; in MatConvert_SeqSBAIJ_SeqAIJ()
77 *(bv + rowstart[itmp]) = *(av + k * bs + j); in MatConvert_SeqSBAIJ_SeqAIJ()
78 rowstart[itmp]++; in MatConvert_SeqSBAIJ_SeqAIJ()
90 *(bj + rowstart[itmp]) = i * bs + k; in MatConvert_SeqSBAIJ_SeqAIJ()
91 *(bv + rowstart[itmp]) = aconj ? PetscConj(*(av + j * bs + k)) : *(av + j * bs + k); in MatConvert_SeqSBAIJ_SeqAIJ()
92 rowstart[itmp]++; in MatConvert_SeqSBAIJ_SeqAIJ()
99 *(bj + rowstart[itmp]) = (*aj) * bs + k; in MatConvert_SeqSBAIJ_SeqAIJ()
100 *(bv + rowstart[itmp]) = *(av + k * bs + j); in MatConvert_SeqSBAIJ_SeqAIJ()
101 rowstart[itmp]++; in MatConvert_SeqSBAIJ_SeqAIJ()
108 PetscCall(PetscFree2(rowlengths, rowstart)); in MatConvert_SeqSBAIJ_SeqAIJ()