Lines Matching refs:subpointIS
2153 IS dimIS, subpointIS = NULL; in DMPlexLabelCohesiveComplete() local
2163 PetscCall(DMPlexGetSubpointIS(subdm, &subpointIS)); in DMPlexLabelCohesiveComplete()
2164 if (subpointIS) { in DMPlexLabelCohesiveComplete()
2165 PetscCall(ISGetLocalSize(subpointIS, &numSubpoints)); in DMPlexLabelCohesiveComplete()
2166 PetscCall(ISGetIndices(subpointIS, &subpoints)); in DMPlexLabelCohesiveComplete()
2327 if (subpointIS) PetscCall(ISRestoreIndices(subpointIS, &subpoints)); in DMPlexLabelCohesiveComplete()
2336 IS subpointIS; in DMPlexCheckValidSubmesh_Private() local
2343 PetscCall(DMPlexGetSubpointIS(subdm, &subpointIS)); in DMPlexCheckValidSubmesh_Private()
2344 if (!subpointIS) PetscFunctionReturn(PETSC_SUCCESS); in DMPlexCheckValidSubmesh_Private()
2347 PetscCall(ISGetIndices(subpointIS, &dmpoints)); in DMPlexCheckValidSubmesh_Private()
2366 PetscCall(ISRestoreIndices(subpointIS, &dmpoints)); in DMPlexCheckValidSubmesh_Private()
2367 PetscCall(ISDestroy(&subpointIS)); in DMPlexCheckValidSubmesh_Private()
2372 PetscCall(ISRestoreIndices(subpointIS, &dmpoints)); in DMPlexCheckValidSubmesh_Private()
3378 IS *subpointIS; in DMPlexCreateSubmeshGeneric_Interpolated() local
3443 …PetscCall(PetscMalloc4(dim + 1, &numSubPoints, dim + 1, &firstSubPoint, dim + 1, &subpointIS, dim … in DMPlexCreateSubmeshGeneric_Interpolated()
3470 PetscCall(DMLabelGetStratumIS(subpointMap, d, &subpointIS[d])); in DMPlexCreateSubmeshGeneric_Interpolated()
3471 if (subpointIS[d]) PetscCall(ISGetIndices(subpointIS[d], &subpoints[d])); in DMPlexCreateSubmeshGeneric_Interpolated()
3904 if (subpointIS[d]) PetscCall(ISRestoreIndices(subpointIS[d], &subpoints[d])); in DMPlexCreateSubmeshGeneric_Interpolated()
3905 PetscCall(ISDestroy(&subpointIS[d])); in DMPlexCreateSubmeshGeneric_Interpolated()
3907 PetscCall(PetscFree4(numSubPoints, firstSubPoint, subpointIS, subpoints)); in DMPlexCreateSubmeshGeneric_Interpolated()
4388 static PetscErrorCode DMPlexCreateSubpointIS_Internal(DM dm, IS *subpointIS) in DMPlexCreateSubpointIS_Internal() argument
4440 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, pEnd, points, PETSC_OWN_POINTER, subpointIS)); in DMPlexCreateSubpointIS_Internal()
4462 PetscErrorCode DMPlexGetSubpointIS(DM dm, IS *subpointIS) in DMPlexGetSubpointIS() argument
4470 PetscAssertPointer(subpointIS, 2); in DMPlexGetSubpointIS()
4473 …state != mesh->subpointState || !mesh->subpointIS) PetscCall(DMPlexCreateSubpointIS_Internal(dm, &… in DMPlexGetSubpointIS()
4474 *subpointIS = mesh->subpointIS; in DMPlexGetSubpointIS()
4555 IS subpointIS; in DMGetEnclosurePoint() local
4564 PetscCall(DMPlexGetSubpointIS(sdm, &subpointIS)); in DMGetEnclosurePoint()
4565 PetscCall(ISGetIndices(subpointIS, &subpoints)); in DMGetEnclosurePoint()
4567 PetscCall(ISRestoreIndices(subpointIS, &subpoints)); in DMGetEnclosurePoint()
4571 PetscCall(DMPlexGetSubpointIS(sdm, &subpointIS)); in DMGetEnclosurePoint()
4572 PetscCall(ISGetLocalSize(subpointIS, &numSubpoints)); in DMGetEnclosurePoint()
4573 PetscCall(ISGetIndices(subpointIS, &subpoints)); in DMGetEnclosurePoint()
4580 PetscCall(ISRestoreIndices(subpointIS, &subpoints)); in DMGetEnclosurePoint()