Lines Matching refs:numPoints
1051 PetscErrorCode DMPlexClosurePoints_Private(DM dm, PetscInt numPoints, const PetscInt points[], IS *… in DMPlexClosurePoints_Private() argument
1060 PetscCall(PetscHSetIResize(ht, numPoints * 16)); in DMPlexClosurePoints_Private()
1062 for (p = 0; p < numPoints; ++p) PetscCall(DMPlexAddClosure_Private(dm, ht, points[p])); in DMPlexClosurePoints_Private()
1065 for (p = 0; p < numPoints; ++p) PetscCall(DMPlexAddClosureTree_Private(dm, ht, points[p])); in DMPlexClosurePoints_Private()
1068 for (p = 0; p < numPoints; ++p) { in DMPlexClosurePoints_Private()
1102 PetscInt numRanks, numPoints, r; in DMPlexPartitionLabelClosure() local
1111 PetscCall(ISGetLocalSize(pointIS, &numPoints)); in DMPlexPartitionLabelClosure()
1113 PetscCall(DMPlexClosurePoints_Private(dm, numPoints, points, &closureIS)); in DMPlexPartitionLabelClosure()
1139 PetscInt numRanks, numPoints, r, p, a, adjSize; in DMPlexPartitionLabelAdjacency() local
1150 PetscCall(ISGetLocalSize(pointIS, &numPoints)); in DMPlexPartitionLabelAdjacency()
1152 for (p = 0; p < numPoints; ++p) { in DMPlexPartitionLabelAdjacency()
1251 PetscInt p, n, numNeighbors, numPoints, dof, off, rootSize, l, nleaves, leafSize; in DMPlexPartitionLabelInvert() local
1274 PetscCall(DMLabelGetStratumSize(rootLabel, neighbors[n], &numPoints)); in DMPlexPartitionLabelInvert()
1275 PetscCall(PetscSectionAddDof(rootSection, neighbors[n], numPoints)); in DMPlexPartitionLabelInvert()
1287 PetscCall(ISGetLocalSize(pointIS, &numPoints)); in DMPlexPartitionLabelInvert()
1289 for (p = 0; p < numPoints; ++p) { in DMPlexPartitionLabelInvert()
1396 PetscInt n, numRemote, p, numPoints, pStart, pEnd, idx = 0, nNeighbors; in DMPlexPartitionLabelCreateSF() local
1420 PetscCall(DMLabelGetStratumSize(label, neighbors[n], &numPoints)); in DMPlexPartitionLabelCreateSF()
1421 numRemote += numPoints; in DMPlexPartitionLabelCreateSF()
1427 PetscCall(DMLabelGetStratumSize(label, rank, &numPoints)); in DMPlexPartitionLabelCreateSF()
1428 if (numPoints > 0) { in DMPlexPartitionLabelCreateSF()
1431 for (p = 0; p < numPoints; p++) { in DMPlexPartitionLabelCreateSF()
1446 PetscCall(DMLabelGetStratumSize(label, nn, &numPoints)); in DMPlexPartitionLabelCreateSF()
1447 if (nn == myRank || numPoints <= 0) continue; in DMPlexPartitionLabelCreateSF()
1450 for (p = 0; p < numPoints; p++) { in DMPlexPartitionLabelCreateSF()