Searched refs:fromperm_newtoold (Results 1 – 1 of 1) sorted by relevance
411 PetscMPIInt *toranks, *fromranks, size, target_rank, *fromperm_newtoold, nto, nfrom; in ISBuildTwoSided() local459 PetscCall(PetscMalloc1(nfrom, &fromperm_newtoold)); in ISBuildTwoSided()460 for (PetscMPIInt i = 0; i < nfrom; i++) fromperm_newtoold[i] = i; in ISBuildTwoSided()461 PetscCall(PetscSortMPIIntWithArray(nfrom, fromranks, fromperm_newtoold)); in ISBuildTwoSided()468 for (j = 0; j < fromsizes[2 * fromperm_newtoold[i]]; j++) { in ISBuildTwoSided()470 iremote[nrecvs++].index = fromsizes[2 * fromperm_newtoold[i] + 1] + j; in ISBuildTwoSided()483 PetscCall(PetscFree(fromperm_newtoold)); in ISBuildTwoSided()