Home
last modified time | relevance | path

Searched refs:newOwners (Results 1 – 2 of 2) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexsubmesh.c3710 PetscSFNode *sremotePoints = NULL, *newLocalPoints = NULL, *newOwners = NULL; in DMPlexCreateSubmeshGeneric_Interpolated() local
3740 PetscCall(PetscMalloc2(pEnd - pStart, &newLocalPoints, numRoots, &newOwners)); in DMPlexCreateSubmeshGeneric_Interpolated()
3746 newOwners[p - pStart].rank = -3; in DMPlexCreateSubmeshGeneric_Interpolated()
3747 newOwners[p - pStart].index = -3; in DMPlexCreateSubmeshGeneric_Interpolated()
3785 newOwners[p].rank = newLocalPoints[p].rank; in DMPlexCreateSubmeshGeneric_Interpolated()
3786 newOwners[p].index = newLocalPoints[p].index; in DMPlexCreateSubmeshGeneric_Interpolated()
3802 … if (rootdegree[subpoints[p] - pStart]) newOwners[subpoints[p] - pStart].rank = rank + size; in DMPlexCreateSubmeshGeneric_Interpolated()
3803 else newOwners[subpoints[p] - pStart].rank = rank; in DMPlexCreateSubmeshGeneric_Interpolated()
3804 newOwners[subpoints[p] - pStart].index = p; in DMPlexCreateSubmeshGeneric_Interpolated()
3807 PetscCall(PetscSFReduceBegin(sfPoint, MPIU_SF_NODE, newLocalPoints, newOwners, MPI_MAXLOC)); in DMPlexCreateSubmeshGeneric_Interpolated()
[all …]
H A Dplexpartition.c1493 …PetscInt *cumSumDegrees, *newOwners, *newNumbers, *rankOnLeafs, *locationsOfLeafs, *remot… in DMPlexRewriteSF() local
1535 PetscCall(PetscMalloc1(pEnd - pStart, &newOwners)); in DMPlexRewriteSF()
1538 newOwners[i] = -1; in DMPlexRewriteSF()
1560 newOwners[oldNumber] = newOwner; in DMPlexRewriteSF()
1568 PetscCall(PetscSFBcastBegin(sf, MPIU_INT, newOwners, newOwners, MPI_REPLACE)); in DMPlexRewriteSF()
1569 PetscCall(PetscSFBcastEnd(sf, MPIU_INT, newOwners, newOwners, MPI_REPLACE)); in DMPlexRewriteSF()
1576 if (newOwners[i] >= 0) { in DMPlexRewriteSF()
1577 if (newOwners[i] != rank) leafCounter++; in DMPlexRewriteSF()
1590 if (newOwners[i] >= 0) { in DMPlexRewriteSF()
1591 if (newOwners[i] != rank) { in DMPlexRewriteSF()
[all …]