Lines Matching refs:neighbors
1256 const PetscInt *local, *neighbors; in DMPlexPartitionLabelInvert() local
1272 PetscCall(ISGetIndices(valueIS, &neighbors)); in DMPlexPartitionLabelInvert()
1274 PetscCall(DMLabelGetStratumSize(rootLabel, neighbors[n], &numPoints)); in DMPlexPartitionLabelInvert()
1275 PetscCall(PetscSectionAddDof(rootSection, neighbors[n], numPoints)); in DMPlexPartitionLabelInvert()
1285 PetscCall(PetscSectionGetOffset(rootSection, neighbors[n], &off)); in DMPlexPartitionLabelInvert()
1286 PetscCall(DMLabelGetStratumIS(rootLabel, neighbors[n], &pointIS)); in DMPlexPartitionLabelInvert()
1311 PetscCall(PetscSectionGetDof(rootSection, neighbors[n], &dof)); in DMPlexPartitionLabelInvert()
1312 PetscCall(PetscSectionGetOffset(rootSection, neighbors[n], &off)); in DMPlexPartitionLabelInvert()
1323 PetscCall(PetscMPIIntCast(dof, &scounts[neighbors[n]])); in DMPlexPartitionLabelInvert()
1324 PetscCall(PetscMPIIntCast(off, &sdispls[neighbors[n]])); in DMPlexPartitionLabelInvert()
1366 PetscCall(ISRestoreIndices(valueIS, &neighbors)); in DMPlexPartitionLabelInvert()
1399 const PetscInt *remoteRoots, *neighbors; in DMPlexPartitionLabelCreateSF() local
1418 PetscCall(ISGetIndices(neighborsIS, &neighbors)); in DMPlexPartitionLabelCreateSF()
1420 PetscCall(DMLabelGetStratumSize(label, neighbors[n], &numPoints)); in DMPlexPartitionLabelCreateSF()
1445 PetscCall(PetscMPIIntCast(neighbors[n], &nn)); in DMPlexPartitionLabelCreateSF()