Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexpartition.c121 PetscInt *adjCells = NULL, *remoteCells = NULL; in DMPlexCreatePartitionerGraph_Native() local
166 PetscCall(PetscCalloc2(nroots, &adjCells, nroots, &remoteCells)); in DMPlexCreatePartitionerGraph_Native()
204 for (l = 0; l < nroots; ++l) remoteCells[l] = -1; in DMPlexCreatePartitionerGraph_Native()
205 PetscCall(PetscSFBcastBegin(dm->sf, MPIU_INT, adjCells, remoteCells, MPI_REPLACE)); in DMPlexCreatePartitionerGraph_Native()
206 PetscCall(PetscSFBcastEnd(dm->sf, MPIU_INT, adjCells, remoteCells, MPI_REPLACE)); in DMPlexCreatePartitionerGraph_Native()
207 PetscCall(PetscSFReduceBegin(dm->sf, MPIU_INT, adjCells, remoteCells, MPI_MAX)); in DMPlexCreatePartitionerGraph_Native()
208 PetscCall(PetscSFReduceEnd(dm->sf, MPIU_INT, adjCells, remoteCells, MPI_MAX)); in DMPlexCreatePartitionerGraph_Native()
217 if (remoteCells) { in DMPlexCreatePartitionerGraph_Native()
226 if (remoteCells[point] >= 0 && remoteCells[point] != gp) { in DMPlexCreatePartitionerGraph_Native()
230 *pBuf = remoteCells[point]; in DMPlexCreatePartitionerGraph_Native()
[all …]