Lines Matching refs:indices_temp
235 PetscInt col, lsize, max_lsize, *indices_temp, *indices_i; in MatIncreaseOverlap_MPIAIJ_Receive_Scalable() local
247 PetscCall(PetscMalloc2((max_lsize + nrecvs) * nidx, &indices_temp, nidx, &iscomms)); in MatIncreaseOverlap_MPIAIJ_Receive_Scalable()
251 …PetscCall(PetscArraycpy(PetscSafePointerPlusOffset(indices_temp, i * (max_lsize + nrecvs)), indice… in MatIncreaseOverlap_MPIAIJ_Receive_Scalable()
259 indices_i = indices_temp + (max_lsize + nrecvs) * is_id; in MatIncreaseOverlap_MPIAIJ_Receive_Scalable()
269 indices_i = PetscSafePointerPlusOffset(indices_temp, (max_lsize + nrecvs) * i); in MatIncreaseOverlap_MPIAIJ_Receive_Scalable()
276 PetscCall(PetscFree2(indices_temp, iscomms)); in MatIncreaseOverlap_MPIAIJ_Receive_Scalable()
405 PetscInt tnz, an, bn, i, j, row, start, end, rstart, cstart, col, k, *indices_temp; in MatIncreaseOverlap_MPIAIJ_Local_Scalable() local
429 PetscCall(PetscMalloc1(tnz, &indices_temp)); in MatIncreaseOverlap_MPIAIJ_Local_Scalable()
447 indices_temp[lsize_tmp++] = col; in MatIncreaseOverlap_MPIAIJ_Local_Scalable()
453 indices_temp[lsize_tmp++] = col; in MatIncreaseOverlap_MPIAIJ_Local_Scalable()
459 PetscCall(PetscSortRemoveDupsInt(&lsize_tmp, indices_temp)); in MatIncreaseOverlap_MPIAIJ_Local_Scalable()
460 PetscCall(ISCreateGeneral(iscomm, lsize_tmp, indices_temp, PETSC_COPY_VALUES, &is[i])); in MatIncreaseOverlap_MPIAIJ_Local_Scalable()
463 PetscCall(PetscFree(indices_temp)); in MatIncreaseOverlap_MPIAIJ_Local_Scalable()