Lines Matching refs:rowlen
1576 PetscInt j0, rowlen; in MatPermute_MPIAIJ() local
1577 rowlen = ai[i + 1] - ai[i]; in MatPermute_MPIAIJ()
1578 …for (j0 = j = 0; j < rowlen; j0 = j) { /* rowlen could be larger than number of rows m, so sum in … in MatPermute_MPIAIJ()
1579 for (; j < PetscMin(rowlen, j0 + m); j++) acols[j - j0] = cdest[aj[ai[i] + j]]; in MatPermute_MPIAIJ()
1582 rowlen = bi[i + 1] - bi[i]; in MatPermute_MPIAIJ()
1583 for (j0 = j = 0; j < rowlen; j0 = j) { in MatPermute_MPIAIJ()
1584 for (; j < PetscMin(rowlen, j0 + m); j++) bcols[j - j0] = gcdest[bj[bi[i] + j]]; in MatPermute_MPIAIJ()
5769 …PetscInt *rowlen, *bufj, *bufJ, ncols = 0, aBn = a->B->cmap->n, row, *b_othi, *b_othj, *r… in MatGetBrowsOfAoCols_MPIAIJ() local
5808 rowlen = rvalues + rstarts[i] * rbs; in MatGetBrowsOfAoCols_MPIAIJ()
5810 PetscCallMPI(MPIU_Irecv(rowlen, nrows, MPIU_INT, rprocs[i], tag, comm, rwaits + i)); in MatGetBrowsOfAoCols_MPIAIJ()
5824 rowlen = svalues + (sstarts[i] - sstarts[0]) * sbs; in MatGetBrowsOfAoCols_MPIAIJ()
5831 rowlen[j * sbs + l] = ncols; in MatGetBrowsOfAoCols_MPIAIJ()
5838 PetscCallMPI(MPIU_Isend(rowlen, nrows * sbs, MPIU_INT, sprocs[i], tag, comm, swaits + i)); in MatGetBrowsOfAoCols_MPIAIJ()
5857 rowlen = rvalues + (rstarts[i] - rstarts[0]) * rbs; in MatGetBrowsOfAoCols_MPIAIJ()
5860 b_othi[k + 1] = b_othi[k] + rowlen[j]; in MatGetBrowsOfAoCols_MPIAIJ()
5861 PetscCall(PetscIntSumError(rowlen[j], len, &len)); in MatGetBrowsOfAoCols_MPIAIJ()