Lines Matching refs:anchorSection
2872 PetscCall(PetscSectionDestroy(&mesh->anchorSection)); 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()
10586 if (anchorSection) *anchorSection = plex->anchorSection; in DMPlexGetAnchors()
10616 PetscErrorCode DMPlexSetAnchors(DM dm, PetscSection anchorSection, IS anchorIS) in DMPlexSetAnchors() argument
10623 if (anchorSection) { in DMPlexSetAnchors()
10624 PetscValidHeaderSpecific(anchorSection, PETSC_SECTION_CLASSID, 2); in DMPlexSetAnchors()
10625 …PetscCallMPI(MPI_Comm_compare(PETSC_COMM_SELF, PetscObjectComm((PetscObject)anchorSection), &resul… in DMPlexSetAnchors()
10634 PetscCall(PetscObjectReference((PetscObject)anchorSection)); in DMPlexSetAnchors()
10635 PetscCall(PetscSectionDestroy(&plex->anchorSection)); in DMPlexSetAnchors()
10636 plex->anchorSection = anchorSection; in DMPlexSetAnchors()
10642 if (PetscUnlikelyDebug(anchorIS && anchorSection)) { in DMPlexSetAnchors()
10646 PetscCall(PetscSectionGetChart(anchorSection, &pStart, &pEnd)); in DMPlexSetAnchors()
10656 PetscCall(PetscSectionGetDof(anchorSection, p, &dof)); in DMPlexSetAnchors()
10672 PetscSection anchorSection; in DMPlexCreateConstraintSection_Anchors() local
10677 PetscCall(DMPlexGetAnchors(dm, &anchorSection, NULL)); in DMPlexCreateConstraintSection_Anchors()
10691 PetscCall(PetscSectionGetChart(anchorSection, &pStart, &pEnd)); in DMPlexCreateConstraintSection_Anchors()
10698 PetscCall(PetscSectionGetDof(anchorSection, p, &dof)); in DMPlexCreateConstraintSection_Anchors()
10828 PetscSection anchorSection, section, cSec; in DMCreateDefaultConstraints_Plex() local
10833 PetscCall(DMPlexGetAnchors(dm, &anchorSection, NULL)); in DMCreateDefaultConstraints_Plex()
10834 if (anchorSection) { in DMCreateDefaultConstraints_Plex()