Lines Matching refs:subpoints
1972 …faceSide_Static(DM dm, DM subdm, PetscInt numSubpoints, const PetscInt *subpoints, PetscInt cell, … in GetSurfaceSide_Static() argument
1991 PetscCall(PetscFindInt(cell, numSubpoints, subpoints, &subpoint)); in GetSurfaceSide_Static()
1992 PetscCall(PetscFindInt(face, numSubpoints, subpoints, &subface)); in GetSurfaceSide_Static()
2154 const PetscInt *points, *subpoints; in DMPlexLabelCohesiveComplete() local
2166 PetscCall(ISGetIndices(subpointIS, &subpoints)); in DMPlexLabelCohesiveComplete()
2197 … PetscCall(GetSurfaceSide_Static(dm, subdm, numSubpoints, subpoints, support[s], points[p], &pos)); in DMPlexLabelCohesiveComplete()
2327 if (subpointIS) PetscCall(ISRestoreIndices(subpointIS, &subpoints)); in DMPlexLabelCohesiveComplete()
3315 …erLabels_Internal(DM dm, const PetscInt numSubPoints[], const PetscInt *subpoints[], const PetscIn… in DMPlexFilterLabels_Internal() argument
3362 subp = DMPlexFilterPoint_Internal(point, firstSubPoint[d], numSubPoints[d], subpoints[d]); in DMPlexFilterLabels_Internal()
3379 const PetscInt **subpoints; in DMPlexCreateSubmeshGeneric_Interpolated() local
3443 …lloc4(dim + 1, &numSubPoints, dim + 1, &firstSubPoint, dim + 1, &subpointIS, dim + 1, &subpoints)); in DMPlexCreateSubmeshGeneric_Interpolated()
3471 if (subpointIS[d]) PetscCall(ISGetIndices(subpointIS[d], &subpoints[d])); in DMPlexCreateSubmeshGeneric_Interpolated()
3477 const PetscInt point = subpoints[d][p]; in DMPlexCreateSubmeshGeneric_Interpolated()
3509 const PetscInt point = subpoints[d][p]; in DMPlexCreateSubmeshGeneric_Interpolated()
3525 PetscCall(PetscFindInt(support[s], numSubPoints[d + 1], subpoints[d + 1], &subc)); in DMPlexCreateSubmeshGeneric_Interpolated()
3527 const PetscInt ccell = subpoints[d + 1][subc]; in DMPlexCreateSubmeshGeneric_Interpolated()
3547 PetscCall(PetscFindInt(cone[c], numSubPoints[d - 1], subpoints[d - 1], &subc)); in DMPlexCreateSubmeshGeneric_Interpolated()
3632 const PetscInt point = subpoints[d][p]; in DMPlexCreateSubmeshGeneric_Interpolated()
3650 const PetscInt point = subpoints[d][p]; in DMPlexCreateSubmeshGeneric_Interpolated()
3674 const PetscInt point = subpoints[d][p]; in DMPlexCreateSubmeshGeneric_Interpolated()
3711 const PetscInt *localPoints, *subpoints, *rootdegree; in DMPlexCreateSubmeshGeneric_Interpolated() local
3726 PetscCall(ISGetIndices(subpIS, &subpoints)); in DMPlexCreateSubmeshGeneric_Interpolated()
3728 …for (p = 1; p < numSubpoints; ++p) sorted = sorted && (subpoints[p] >= subpoints[p - 1]) ? PETSC_T… in DMPlexCreateSubmeshGeneric_Interpolated()
3732 PetscCall(PetscArraycpy(sortedPoints, subpoints, numSubpoints)); in DMPlexCreateSubmeshGeneric_Interpolated()
3757 const PetscInt point = subpoints[p]; in DMPlexCreateSubmeshGeneric_Interpolated()
3767 c = subpoints[p]; in DMPlexCreateSubmeshGeneric_Interpolated()
3792 …PointPerm_Internal(point, 0, numSubpoints, sortedPoints ? sortedPoints : subpoints, sortedIndices); in DMPlexCreateSubmeshGeneric_Interpolated()
3802 … if (rootdegree[subpoints[p] - pStart]) newOwners[subpoints[p] - pStart].rank = rank + size; in DMPlexCreateSubmeshGeneric_Interpolated()
3803 else newOwners[subpoints[p] - pStart].rank = rank; in DMPlexCreateSubmeshGeneric_Interpolated()
3804 newOwners[subpoints[p] - pStart].index = p; in DMPlexCreateSubmeshGeneric_Interpolated()
3817 point = subpoints[p]; in DMPlexCreateSubmeshGeneric_Interpolated()
3855 const PetscInt point = subpoints[p]; in DMPlexCreateSubmeshGeneric_Interpolated()
3862 const PetscInt point = subpoints[p]; in DMPlexCreateSubmeshGeneric_Interpolated()
3878 …PointPerm_Internal(point, 0, numSubpoints, sortedPoints ? sortedPoints : subpoints, sortedIndices); in DMPlexCreateSubmeshGeneric_Interpolated()
3897 if (subpIS) PetscCall(ISRestoreIndices(subpIS, &subpoints)); in DMPlexCreateSubmeshGeneric_Interpolated()
3901 PetscCall(DMPlexFilterLabels_Internal(dm, numSubPoints, subpoints, firstSubPoint, subdm)); in DMPlexCreateSubmeshGeneric_Interpolated()
3904 if (subpointIS[d]) PetscCall(ISRestoreIndices(subpointIS[d], &subpoints[d])); in DMPlexCreateSubmeshGeneric_Interpolated()
3907 PetscCall(PetscFree4(numSubPoints, firstSubPoint, subpointIS, subpoints)); in DMPlexCreateSubmeshGeneric_Interpolated()
4556 const PetscInt *subpoints; in DMGetEnclosurePoint() local
4565 PetscCall(ISGetIndices(subpointIS, &subpoints)); in DMGetEnclosurePoint()
4566 *pA = subpoints[pB]; in DMGetEnclosurePoint()
4567 PetscCall(ISRestoreIndices(subpointIS, &subpoints)); in DMGetEnclosurePoint()
4573 PetscCall(ISGetIndices(subpointIS, &subpoints)); in DMGetEnclosurePoint()
4574 PetscCall(PetscFindInt(pB, numSubpoints, subpoints, pA)); in DMGetEnclosurePoint()
4580 PetscCall(ISRestoreIndices(subpointIS, &subpoints)); in DMGetEnclosurePoint()