Home
last modified time | relevance | path

Searched refs:pointsIS (Results 1 – 3 of 3) sorted by relevance

/petsc/src/dm/impls/plex/tests/
H A Dex56.c261 IS pointsIS; in DMLabelCompareWithCoordinateRepresentation() local
279 PetscCall(DMPlexFindVertices(dm, allCoords, 0.0, &pointsIS)); in DMLabelCompareWithCoordinateRepresentation()
280 PetscCall(ISGetIndices(pointsIS, &points)); in DMLabelCompareWithCoordinateRepresentation()
281 PetscCall(ISGetLocalSize(pointsIS, &n)); in DMLabelCompareWithCoordinateRepresentation()
305 PetscCall(ISRestoreIndices(pointsIS, &points)); in DMLabelCompareWithCoordinateRepresentation()
306 PetscCall(ISDestroy(&pointsIS)); in DMLabelCompareWithCoordinateRepresentation()
H A Dex18.c849 IS pointsIS; in ViewVerticesFromCoords() local
861 PetscCall(DMPlexFindVertices(dm, coordsVec, tol, &pointsIS)); in ViewVerticesFromCoords()
862 PetscCall(ISGetIndices(pointsIS, &points)); in ViewVerticesFromCoords()
863 PetscCall(ISGetLocalSize(pointsIS, &npoints)); in ViewVerticesFromCoords()
873 PetscCall(ISRestoreIndices(pointsIS, &points)); in ViewVerticesFromCoords()
874 PetscCall(ISDestroy(&pointsIS)); in ViewVerticesFromCoords()
1299 static PetscErrorCode ViewPointsWithType_Internal(DM dm, IS pointsIS, PetscViewer v) in ViewPointsWithType_Internal() argument
1313 PetscCall(ISGetLocalSize(pointsIS, &npoints)); in ViewPointsWithType_Internal()
1314 PetscCall(ISGetIndices(pointsIS, &points)); in ViewPointsWithType_Internal()
1360 PetscCall(ISRestoreIndices(pointsIS, &points)); in ViewPointsWithType_Internal()
/petsc/src/dm/impls/plex/hdf5/
H A Dplexhdf5.c899 IS pointsIS; in DMPlexTopologyView_HDF5_Inner_Private() local
909 PetscCall(ISCreateGeneral(comm, nPoints, points, PETSC_OWN_POINTER, &pointsIS)); in DMPlexTopologyView_HDF5_Inner_Private()
910 PetscCall(PetscObjectSetName((PetscObject)pointsIS, pointsName)); in DMPlexTopologyView_HDF5_Inner_Private()
911 PetscCall(ISView(pointsIS, viewer)); in DMPlexTopologyView_HDF5_Inner_Private()
912 PetscCall(ISDestroy(&pointsIS)); in DMPlexTopologyView_HDF5_Inner_Private()
2125 IS pointsIS, coneSizesIS, conesIS, orientationsIS; in DMPlexTopologyLoad_HDF5_Legacy_Private() local
2139 PetscCall(ISCreate(comm, &pointsIS)); in DMPlexTopologyLoad_HDF5_Legacy_Private()
2140 PetscCall(PetscObjectSetName((PetscObject)pointsIS, pointsName)); in DMPlexTopologyLoad_HDF5_Legacy_Private()
2153 PetscCall(PetscLayoutSetLocalSize(pointsIS->map, rank == 0 ? Np : 0)); in DMPlexTopologyLoad_HDF5_Legacy_Private()
2154 PetscCall(PetscLayoutSetSize(pointsIS->map, Np)); in DMPlexTopologyLoad_HDF5_Legacy_Private()
[all …]