Lines Matching refs:anchorIS
2873 PetscCall(ISDestroy(&mesh->anchorIS)); in DMDestroy_Plex()
10579 PetscErrorCode DMPlexGetAnchors(DM dm, PeOp PetscSection *anchorSection, PeOp IS *anchorIS) in DMPlexGetAnchors() argument
10585 …if (!plex->anchorSection && !plex->anchorIS && plex->createanchors) PetscCall((*plex->createanchor… in DMPlexGetAnchors()
10587 if (anchorIS) *anchorIS = plex->anchorIS; in DMPlexGetAnchors()
10616 PetscErrorCode DMPlexSetAnchors(DM dm, PetscSection anchorSection, IS anchorIS) in DMPlexSetAnchors() argument
10628 if (anchorIS) { in DMPlexSetAnchors()
10629 PetscValidHeaderSpecific(anchorIS, IS_CLASSID, 3); in DMPlexSetAnchors()
10630 … PetscCallMPI(MPI_Comm_compare(PETSC_COMM_SELF, PetscObjectComm((PetscObject)anchorIS), &result)); in DMPlexSetAnchors()
10638 PetscCall(PetscObjectReference((PetscObject)anchorIS)); in DMPlexSetAnchors()
10639 PetscCall(ISDestroy(&plex->anchorIS)); in DMPlexSetAnchors()
10640 plex->anchorIS = anchorIS; in DMPlexSetAnchors()
10642 if (PetscUnlikelyDebug(anchorIS && anchorSection)) { in DMPlexSetAnchors()
10647 PetscCall(ISGetLocalSize(anchorIS, &size)); in DMPlexSetAnchors()
10648 PetscCall(ISGetIndices(anchorIS, &anchors)); in DMPlexSetAnchors()
10658 PetscCall(ISRestoreIndices(anchorIS, &anchors)); in DMPlexSetAnchors()
10663 PetscCall(ISRestoreIndices(anchorIS, &anchors)); in DMPlexSetAnchors()