Lines Matching refs:proc
65 PetscMPIInt *onodes1, *olengths1, *onodes2, *olengths2, proc = -1; in MatIncreaseOverlap_MPIBAIJ_Once() local
97 PetscCall(PetscLayoutFindOwner(C->rmap, row * C->rmap->bs, &proc)); in MatIncreaseOverlap_MPIBAIJ_Once()
98 w4[proc]++; in MatIncreaseOverlap_MPIBAIJ_Once()
188 PetscCall(PetscLayoutFindOwner(C->rmap, row * C->rmap->bs, &proc)); in MatIncreaseOverlap_MPIBAIJ_Once()
189 if (proc != rank) { /* copy to the outgoing buffer */ in MatIncreaseOverlap_MPIBAIJ_Once()
190 ctr[proc]++; in MatIncreaseOverlap_MPIBAIJ_Once()
191 *ptr[proc] = row; in MatIncreaseOverlap_MPIBAIJ_Once()
192 ptr[proc]++; in MatIncreaseOverlap_MPIBAIJ_Once()
253 proc = onodes1[i]; in MatIncreaseOverlap_MPIBAIJ_Once()
254 PetscCall(PetscMPIIntCast(isz1[i], &rw1[proc])); in MatIncreaseOverlap_MPIBAIJ_Once()
620 PetscMPIInt *pa, **row2proc, *row2proc_i, proc = -1; local
764 if (issorted[i]) proc = 0;
766 if (!issorted[i]) proc = 0;
770 while (row >= c->rangebs[proc + 1]) proc++;
771 w4[proc]++;
772 row2proc_i[j] = proc; /* map row index to proc */
846 proc = row2proc_i[j];
850 if (proc != rank) { /* copy to the outgoing buf*/
851 ctr[proc]++;
852 *ptr[proc] = row;
853 ptr[proc]++;
1018 proc = row2proc_i[j];
1019 if (proc == rank) {
1300 proc = row2proc_i[j];
1302 if (proc == rank) {