Lines Matching refs:len_s

162 …PetscMPIInt     proc_end = 0, size, rank, tag1, tag2, *len_s, nrqr, nrqs, *id_r1, *len_r1, flag, *…  in MatIncreaseOverlap_MPISBAIJ_Once()  local
216 PetscCall(PetscMalloc4(size, &len_s, size, &btable, size, &iwork, size + 1, &Bowners)); in MatIncreaseOverlap_MPISBAIJ_Once()
249 for (i = 0; i < size; i++) len_s[i] = 0; in MatIncreaseOverlap_MPISBAIJ_Once()
278 len_s[proc_id]++; in MatIncreaseOverlap_MPISBAIJ_Once()
284 *(data1 + proc_id * len + 1 + i) = len_s[proc_id] - iwork[proc_id]; in MatIncreaseOverlap_MPISBAIJ_Once()
285 iwork[proc_id] = len_s[proc_id]; in MatIncreaseOverlap_MPISBAIJ_Once()
294 if (len_s[i]) { in MatIncreaseOverlap_MPISBAIJ_Once()
296 len_s[i] += 1 + is_max; /* add no. of header msg */ in MatIncreaseOverlap_MPISBAIJ_Once()
305 PetscCall(PetscGatherNumberOfMessages(comm, NULL, len_s, &nrqr)); in MatIncreaseOverlap_MPISBAIJ_Once()
306 PetscCall(PetscGatherMessageLengths(comm, nrqs, nrqr, len_s, &id_r1, &len_r1)); in MatIncreaseOverlap_MPISBAIJ_Once()
312 if (len_s[proc_id]) { in MatIncreaseOverlap_MPISBAIJ_Once()
313 …PetscCallMPI(MPIU_Isend(data1_start[proc_id], len_s[proc_id], MPIU_INT, proc_id, tag1, comm, s_wai… in MatIncreaseOverlap_MPISBAIJ_Once()
326 for (PetscMPIInt proc_id = 0; proc_id < size; proc_id++) len_s[proc_id] = iwork[proc_id] = 0; in MatIncreaseOverlap_MPISBAIJ_Once()
372 … PetscCall(PetscMPIIntCast(len, &len_s[proc_id])); /* length of message sending back to proc_id */ in MatIncreaseOverlap_MPISBAIJ_Once()
393 PetscCallMPI(MPIU_Allreduce(len_s, iwork, size, MPI_INT, MPI_MAX, comm)); in MatIncreaseOverlap_MPISBAIJ_Once()
395 PetscCall(PetscFree4(len_s, btable, iwork, Bowners)); in MatIncreaseOverlap_MPISBAIJ_Once()