Lines Matching refs:remotesAll
1217 PetscSFNode *remotesAll; in DMSetUp_pforest() local
1221 PetscCall(PetscMalloc1(cEnd, &remotesAll)); in DMSetUp_pforest()
1223 remotesAll[i].rank = -1; in DMSetUp_pforest()
1224 remotesAll[i].index = -1; in DMSetUp_pforest()
1226 … for (i = 0; i < nleaves; i++) remotesAll[(leaves ? leaves[i] : i) + cLocalStart] = remotes[i]; in DMSetUp_pforest()
1228 PetscCall(PetscSFBcastBegin(cellSF, MPIU_SF_NODE, remotesAll, remotesAll, MPI_REPLACE)); in DMSetUp_pforest()
1229 PetscCall(PetscSFBcastEnd(cellSF, MPIU_SF_NODE, remotesAll, remotesAll, MPI_REPLACE)); in DMSetUp_pforest()
1232 if (remotesAll[i].rank >= 0) nleavesNew++; in DMSetUp_pforest()
1237 if (remotesAll[i].rank >= 0) { in DMSetUp_pforest()
1239 if (i > nleavesNew) remotesAll[nleavesNew] = remotesAll[i]; in DMSetUp_pforest()
1245 …(preCoarseToFineNew, nroots, nleavesNew, leavesNew, PETSC_OWN_POINTER, remotesAll, PETSC_COPY_VALU… in DMSetUp_pforest()
1248 …Graph(preCoarseToFineNew, nroots, nleavesNew, NULL, PETSC_OWN_POINTER, remotesAll, PETSC_COPY_VALU… in DMSetUp_pforest()
1250 PetscCall(PetscFree(remotesAll)); in DMSetUp_pforest()