Home
last modified time | relevance | path

Searched refs:aIS (Results 1 – 5 of 5) sorted by relevance

/petsc/src/dm/impls/plex/tests/ !
H A Dex3.c402 IS aIS; in SetupSection() local
439 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, numConst, anchors, PETSC_OWN_POINTER, &aIS)); in SetupSection()
441 PetscCall(DMPlexSetAnchors(dm, aSec, aIS)); in SetupSection()
443 PetscCall(ISDestroy(&aIS)); in SetupSection()
451 IS aIS; in SetupSection() local
453 PetscCall(DMPlexGetAnchors(dm, &aSec, &aIS)); in SetupSection()
467 PetscCall(ISGetIndices(aIS, &anchors)); in SetupSection()
499 PetscCall(ISRestoreIndices(aIS, &anchors)); in SetupSection()
/petsc/src/dm/impls/plex/ !
H A Dplextree.c658 IS aIS; in DMPlexCreateAnchors_Tree() local
734 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, size, anchors, PETSC_OWN_POINTER, &aIS)); in DMPlexCreateAnchors_Tree()
737 IS aISNew = aIS; in DMPlexCreateAnchors_Tree()
740 PetscCall(PetscObjectReference((PetscObject)aIS)); in DMPlexCreateAnchors_Tree()
743 PetscCall(ISDestroy(&aIS)); in DMPlexCreateAnchors_Tree()
745 aIS = aISNew; in DMPlexCreateAnchors_Tree()
748 PetscCall(AnchorsFlatten(aSec, aIS, &aSecNew, &aISNew)); in DMPlexCreateAnchors_Tree()
751 PetscCall(DMPlexSetAnchors(dm, aSec, aIS)); in DMPlexCreateAnchors_Tree()
753 PetscCall(ISDestroy(&aIS)); in DMPlexCreateAnchors_Tree()
1148 IS aIS; in DMPlexComputeAnchorMatrix_Tree_Direct() local
[all …]
H A Dplexpreallocate.c11 IS aIS; in DMPlexComputeAnchorAdjacencies() local
20 PetscCall(DMPlexGetAnchors(dm, &aSec, &aIS)); in DMPlexComputeAnchorAdjacencies()
30 PetscCall(ISGetLocalSize(aIS, &aSize)); in DMPlexComputeAnchorAdjacencies()
31 PetscCall(ISGetIndices(aIS, &anchors)); in DMPlexComputeAnchorAdjacencies()
57 PetscCall(ISRestoreIndices(aIS, &anchors)); in DMPlexComputeAnchorAdjacencies()
H A Dplexdistribute.c188 IS aIS = NULL; in DMPlexGetMaxAdjacencySize_Internal() local
190 PetscCall(DMPlexGetAnchors(dm, &aSec, &aIS)); in DMPlexGetMaxAdjacencySize_Internal()
230 IS aIS = NULL; in DMPlexGetAdjacency_Internal() local
236 PetscCall(DMPlexGetAnchors(dm, &aSec, &aIS)); in DMPlexGetAdjacency_Internal()
239 PetscCall(ISGetIndices(aIS, &anchors)); in DMPlexGetAdjacency_Internal()
287 PetscCall(ISRestoreIndices(aIS, &anchors)); in DMPlexGetAdjacency_Internal()
H A Dplex.c7842 IS aIS; in DMPlexAnchorsGetSubMatModification() local
7862 PetscCall(DMPlexGetAnchors(dm, &aSec, &aIS)); in DMPlexAnchorsGetSubMatModification()
7867 PetscCall(ISGetIndices(aIS, &anchors)); in DMPlexAnchorsGetSubMatModification()
7928 if (aSec) PetscCall(ISRestoreIndices(aIS, &anchors)); in DMPlexAnchorsGetSubMatModification()
7942 if (aSec) PetscCall(ISRestoreIndices(aIS, &anchors)); in DMPlexAnchorsGetSubMatModification()
8056 PetscCall(ISRestoreIndices(aIS, &anchors)); in DMPlexAnchorsGetSubMatModification()
10719 IS aIS; in DMPlexCreateConstraintMatrix_Anchors() local
10737 PetscCall(DMPlexGetAnchors(dm, &aSec, &aIS)); in DMPlexCreateConstraintMatrix_Anchors()
10738 PetscCall(ISGetIndices(aIS, &anchors)); in DMPlexCreateConstraintMatrix_Anchors()
10821 PetscCall(ISRestoreIndices(aIS, &anchors)); in DMPlexCreateConstraintMatrix_Anchors()