Lines Matching refs:odata2
140 /* data1, odata1 and odata2 are packed in the format (for communication):
165 PetscInt Mbs, i, j, k, *odata1, *odata2;
334 PetscCall(PetscMalloc1(len_est + 1, &odata2));
337 odata2_ptr[nodata2] = odata2;
356 /* make sure there is enough unused space in odata2 array */
357 if (len_unused < len_max) { /* allocate more space for odata2 */
358 PetscCall(PetscMalloc1(len_est + 1, &odata2));
359 odata2_ptr[++nodata2] = odata2;
363 PetscCall(MatIncreaseOverlap_MPISBAIJ_Local(C, odata1, OTHER, odata2, &otable));
364 len = 1 + odata2[0];
365 for (i = 0; i < odata2[0]; i++) len += odata2[1 + i];
368 PetscCallMPI(MPIU_Isend(odata2, len, MPIU_INT, proc_id, tag2, comm, s_waits2 + k));
370 odata2 += len;
379 /* make sure there is enough unused space in odata2(=data) array */
381 if (len_unused < len_max) { /* allocate more space for odata2 */
382 PetscCall(PetscMalloc1(len_est + 1, &odata2));
384 odata2_ptr[++nodata2] = odata2;
387 data = odata2;