Lines Matching refs:cstart

34   PetscInt           k, cstart, cend, l, row, col, nz, spidx, i, j;  in MatFDColoringApply_BAIJ()  local
93 PetscCall(VecGetOwnershipRange(x1, &cstart, &cend)); /* used by ghosted vscale */ in MatFDColoringApply_BAIJ()
107 …if (ctype == IS_COLORING_GLOBAL) w3_array -= cstart; /* shift pointer so global index can be used … in MatFDColoringApply_BAIJ()
115 vscale_array -= cstart; /* shift pointer so global index can be used */ in MatFDColoringApply_BAIJ()
121 vscale_array += cstart; in MatFDColoringApply_BAIJ()
123 if (ctype == IS_COLORING_GLOBAL) w3_array += cstart; in MatFDColoringApply_BAIJ()
185 PetscInt k, cstart, cend, l, row, col, nz; in MatFDColoringApply_AIJ() local
243 PetscCall(VecGetOwnershipRange(x1, &cstart, &cend)); /* used by ghosted vscale */ in MatFDColoringApply_AIJ()
265 …if (ctype == IS_COLORING_GLOBAL) w3_array -= cstart; /* shift pointer so global index can be used … in MatFDColoringApply_AIJ()
272 vscale_array -= cstart; /* shift pointer so global index can be used */ in MatFDColoringApply_AIJ()
277 vscale_array += cstart; in MatFDColoringApply_AIJ()
279 if (ctype == IS_COLORING_GLOBAL) w3_array += cstart; in MatFDColoringApply_AIJ()
337 …if (ctype == IS_COLORING_GLOBAL) w3_array -= cstart; /* shift pointer so global index can be used … in MatFDColoringApply_AIJ()
344 vscale_array -= cstart; /* shift pointer so global index can be used */ in MatFDColoringApply_AIJ()
349 vscale_array += cstart; in MatFDColoringApply_AIJ()
351 if (ctype == IS_COLORING_GLOBAL) w3_array += cstart; in MatFDColoringApply_AIJ()
406 PetscInt n, nrows, nrows_i, j, k, m, ncols, col, *rowhit, cstart, cend, colb; in MatFDColoringSetUp_MPIXAIJ() local
510 cstart = mat->cmap->rstart / bs; in MatFDColoringSetUp_MPIXAIJ()
572 if (col >= cstart && col < cend) { /* column is in A, diagonal block of mat */ in MatFDColoringSetUp_MPIXAIJ()
573 tmp = A_ci[col - cstart]; in MatFDColoringSetUp_MPIXAIJ()
575 nrows = A_ci[col - cstart + 1] - tmp; in MatFDColoringSetUp_MPIXAIJ()
583 rowhit[*row++] = col - cstart + 1; /* local column index */ in MatFDColoringSetUp_MPIXAIJ()
606 rowhit[*row++] = colb + 1 + cend - cstart; /* local column index */ in MatFDColoringSetUp_MPIXAIJ()