Lines Matching refs:bcols

247   if (coloring->bcols > 1) { /* use blocked insertion of Jentry */  in MatFDColoringApply_AIJ()
248 PetscInt i, m = J->rmap->n, nbcols, bcols = coloring->bcols; in MatFDColoringApply_AIJ() local
252 for (k = 0; k < ncolors; k += bcols) { in MatFDColoringApply_AIJ()
259 if (k + bcols > ncolors) bcols = ncolors - k; in MatFDColoringApply_AIJ()
260 for (i = 0; i < bcols; i++) { in MatFDColoringApply_AIJ()
416 PetscInt bcols = c->bcols; in MatFDColoringSetUp_MPIXAIJ() local
634 if (bcols > 1) { /* reorder Jentry for faster MatFDColoringApply() */ in MatFDColoringSetUp_MPIXAIJ()
654 …brows %" PetscInt_FMT " and bcols %" PetscInt_FMT " are used.\n", c->ncolors, c->brows, c->bcols)); in MatFDColoringSetUp_MPIXAIJ()
671 c->bcols = 1; in MatFDColoringCreate_MPIXAIJ()
677 PetscInt nz, brows, bcols; in MatFDColoringCreate_MPIXAIJ() local
688 bcols = (PetscInt)(0.5 * mem / (m * sizeof(PetscScalar))); in MatFDColoringCreate_MPIXAIJ()
689 brows = 1000 / bcols; in MatFDColoringCreate_MPIXAIJ()
690 if (bcols > nis) bcols = nis; in MatFDColoringCreate_MPIXAIJ()
693 c->bcols = bcols; in MatFDColoringCreate_MPIXAIJ()
699 PetscInt nz, brows, bcols; in MatFDColoringCreate_MPIXAIJ() local
710 bcols = (PetscInt)(0.5 * mem / (m * sizeof(PetscScalar))); in MatFDColoringCreate_MPIXAIJ()
711 brows = 1000 / bcols; in MatFDColoringCreate_MPIXAIJ()
712 if (bcols > nis) bcols = nis; in MatFDColoringCreate_MPIXAIJ()
715 c->bcols = bcols; in MatFDColoringCreate_MPIXAIJ()
749 PetscInt row, nrows_k, l, ncolors, nz = 0, bcols, nbcols = 0; in MatFDColoringSetValues() local
761 bcols = coloring->bcols; in MatFDColoringSetValues()
763 for (PetscInt i = 0; i < ncolors; i += bcols) { in MatFDColoringSetValues()
769 y += bcols * coloring->m; in MatFDColoringSetValues()