Lines Matching refs:cStart
20 PetscInt dim, depth, overlap, cStart, cEnd, c, v; in DMPlexCreatePartitionerGraph_Overlap() local
54 PetscCall(DMPlexGetHeightStratum(ovdm, height, &cStart, &cEnd)); in DMPlexCreatePartitionerGraph_Overlap()
55 PetscCall(DMPlexCreateNumbering_Plex(ovdm, cStart, cEnd, 0, NULL, sfPoint, &cellNumbering)); in DMPlexCreatePartitionerGraph_Overlap()
62 for (*numVertices = 0, c = cStart; c < cEnd; ++c) { in DMPlexCreatePartitionerGraph_Overlap()
64 if (cellNum[c - cStart] < 0) continue; in DMPlexCreatePartitionerGraph_Overlap()
68 for (c = cStart, v = 0; c < cEnd; ++c) { in DMPlexCreatePartitionerGraph_Overlap()
71 if (cellNum[c - cStart] < 0) continue; in DMPlexCreatePartitionerGraph_Overlap()
75 if (point != c && cStart <= point && point < cEnd) ++vsize; in DMPlexCreatePartitionerGraph_Overlap()
82 for (c = cStart, v = 0; c < cEnd; ++c) { in DMPlexCreatePartitionerGraph_Overlap()
86 if (cellNum[c - cStart] < 0) continue; in DMPlexCreatePartitionerGraph_Overlap()
90 …if (point != c && cStart <= point && point < cEnd) vAdj[off++] = DMPlex_GlobalID(cellNum[point - c… in DMPlexCreatePartitionerGraph_Overlap()
323 PetscInt dim, depth, floc, cloc, i, M, N, c, lm, m, cStart, cEnd, fStart, fEnd; in DMPlexCreatePartitionerGraph_ViaMat() local
349 PetscCall(DMPlexGetHeightStratum(dm, height, &cStart, &cEnd)); in DMPlexCreatePartitionerGraph_ViaMat()
351 PetscCall(DMPlexCreateNumbering_Plex(dm, cStart, cEnd, 0, &N, sfPoint, &cis)); in DMPlexCreatePartitionerGraph_ViaMat()
403 for (c = cStart; c < cEnd; c++) { in DMPlexCreatePartitionerGraph_ViaMat()
407 col = cols[c - cStart]; in DMPlexCreatePartitionerGraph_ViaMat()
551 PetscInt dim, cellDim, depth = 0, faceDepth, cStart, cEnd, c, numCells, cell; in DMPlexCreateNeighborCSR() local
558 PetscCall(DMPlexGetHeightStratum(dm, cellHeight, &cStart, &cEnd)); in DMPlexCreateNeighborCSR()
559 if (cEnd - cStart == 0) { in DMPlexCreateNeighborCSR()
565 numCells = cEnd - cStart; in DMPlexCreateNeighborCSR()
583 ++off[support[0] - cStart + 1]; in DMPlexCreateNeighborCSR()
584 ++off[support[1] - cStart + 1]; in DMPlexCreateNeighborCSR()
607 adj[tmp[support[0] - cStart]++] = support[1]; in DMPlexCreateNeighborCSR()
608 adj[tmp[support[1] - cStart]++] = support[0]; in DMPlexCreateNeighborCSR()
612 …cStart; ++c) PetscAssert(tmp[c] == off[c + 1], PETSC_COMM_SELF, PETSC_ERR_PLIB, "Offset %" PetscIn… in DMPlexCreateNeighborCSR()
624 for (c = cStart; c < cEnd; ++c) { in DMPlexCreateNeighborCSR()
642 for (cell = cStart; cell < cEnd; ++cell) { in DMPlexCreateNeighborCSR()
670 if (found) ++off[cell - cStart + 1]; in DMPlexCreateNeighborCSR()
679 for (cell = cStart; cell < cEnd; ++cell) { in DMPlexCreateNeighborCSR()
709 adj[off[cell - cStart] + cellOffset] = neighborCells[n]; in DMPlexCreateNeighborCSR()
762 PetscInt cStart, cEnd, c; in PetscPartitionerDMPlexPartition() local
764 PetscCall(DMPlexGetHeightStratum(dm, part->height, &cStart, &cEnd)); in PetscPartitionerDMPlexPartition()
767 PetscCall(PetscSectionSetDof(partSection, 0, cEnd - cStart)); in PetscPartitionerDMPlexPartition()
769 PetscCall(PetscMalloc1(cEnd - cStart, &points)); in PetscPartitionerDMPlexPartition()
770 for (c = cStart; c < cEnd; ++c) points[c] = c; in PetscPartitionerDMPlexPartition()
771 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)part), cEnd - cStart, points, PETSC_OWN_POI… in PetscPartitionerDMPlexPartition()
861 PetscInt *map, cStart, cEnd; in PetscPartitionerDMPlexPartition() local
870 PetscCall(DMPlexGetHeightStratum(dm, part->height, &cStart, &cEnd)); in PetscPartitionerDMPlexPartition()
871 for (i = cStart, offset = 0; i < cEnd; i++) { in PetscPartitionerDMPlexPartition()
872 if (globalNum[i - cStart] >= 0) map[offset++] = i; in PetscPartitionerDMPlexPartition()