Home
last modified time | relevance | path

Searched refs:adjCells (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()
168 for (l = 0; l < nroots; ++l) adjCells[l] = -3; in DMPlexCreatePartitionerGraph_Native()
175 if (supportSize == 1) adjCells[f] = DMPlex_GlobalID(cellNum[support[0] - pStart]); in DMPlexCreatePartitionerGraph_Native()
178 if (p >= 0) adjCells[f] = DMPlex_GlobalID(cellNum[support[1] - pStart]); in DMPlexCreatePartitionerGraph_Native()
180 if (p >= 0) adjCells[f] = DMPlex_GlobalID(cellNum[support[0] - pStart]); in DMPlexCreatePartitionerGraph_Native()
193 if (supportSize == 1) adjCells[child] = DMPlex_GlobalID(cellNum[support[0] - pStart]); in DMPlexCreatePartitionerGraph_Native()
196 if (p >= 0) adjCells[child] = DMPlex_GlobalID(cellNum[support[1] - pStart]); in DMPlexCreatePartitionerGraph_Native()
198 if (p >= 0) adjCells[child] = DMPlex_GlobalID(cellNum[support[0] - pStart]); in DMPlexCreatePartitionerGraph_Native()
205 PetscCall(PetscSFBcastBegin(dm->sf, MPIU_INT, adjCells, remoteCells, MPI_REPLACE)); in DMPlexCreatePartitionerGraph_Native()
[all …]