Lines Matching refs:nrows
64 PetscInt i, j, nrows, nbcols, brows = c->brows, bcols = c->bcols, mbs = c->m, nis = c->ncolors; in MatFDColoringSetUpBlocked_AIJ_Private() local
89 color_start[j + 1] = c->nrows[i + j] + color_start[j]; in MatFDColoringSetUpBlocked_AIJ_Private()
98 nrows = c->nrows[i + j]; in MatFDColoringSetUpBlocked_AIJ_Private()
100 while (row_start[j] < nrows) { in MatFDColoringSetUpBlocked_AIJ_Private()
134 color_start[j + 1] = c->nrows[i + j] + color_start[j]; in MatFDColoringSetUpBlocked_AIJ_Private()
143 nrows = c->nrows[i + j]; in MatFDColoringSetUpBlocked_AIJ_Private()
145 while (row_start[j] < nrows) { in MatFDColoringSetUpBlocked_AIJ_Private()
171 PetscCall(PetscFree(c->nrows)); in MatFDColoringSetUpBlocked_AIJ_Private()
172 c->nrows = nrows_new; in MatFDColoringSetUpBlocked_AIJ_Private()
178 …PetscInt i, n, nrows, mbs = c->m, j, k, m, ncols, col, nis = iscoloring->n, *rowhit, bs,… in MatFDColoringSetUp_SeqXAIJ() local
211 PetscCall(PetscMalloc1(nis, &c->nrows)); /* nrows is freed separately from ncolumns and columns */ in MatFDColoringSetUp_SeqXAIJ()
244 nrows = 0; in MatFDColoringSetUp_SeqXAIJ()
250 nrows += m; in MatFDColoringSetUp_SeqXAIJ()
257 c->nrows[i] = nrows; /* total num of rows for this color */ in MatFDColoringSetUp_SeqXAIJ()