Home
last modified time | relevance | path

Searched refs:useAnchors (Results 1 – 4 of 4) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexdistribute.c69 PetscErrorCode DMPlexSetAdjacencyUseAnchors(DM dm, PetscBool useAnchors) in DMPlexSetAdjacencyUseAnchors() argument
75 mesh->useAnchors = useAnchors; in DMPlexSetAdjacencyUseAnchors()
92 PetscErrorCode DMPlexGetAdjacencyUseAnchors(DM dm, PetscBool *useAnchors) in DMPlexGetAdjacencyUseAnchors() argument
98 PetscAssertPointer(useAnchors, 2); in DMPlexGetAdjacencyUseAnchors()
99 *useAnchors = mesh->useAnchors; in DMPlexGetAdjacencyUseAnchors()
181 PetscErrorCode DMPlexGetMaxAdjacencySize_Internal(DM dm, PetscBool useAnchors, PetscInt *max_adjace… in DMPlexGetMaxAdjacencySize_Internal() argument
186 if (useAnchors) { in DMPlexGetMaxAdjacencySize_Internal()
224 …tscInt p, PetscBool useCone, PetscBool useTransitiveClosure, PetscBool useAnchors, PetscInt *adjSi… in DMPlexGetAdjacency_Internal() argument
235 if (useAnchors) { in DMPlexGetAdjacency_Internal()
243 PetscCall(DMPlexGetMaxAdjacencySize_Internal(dm, useAnchors, &asiz)); in DMPlexGetAdjacency_Internal()
[all …]
H A Dplexpreallocate.c239 … bs, PetscSF sfDof, PetscBool useCone, PetscBool useClosure, PetscBool useAnchors, PetscSection *s… in DMPlexCreateAdjacencySection_Static() argument
361 … PetscCall(DMPlexGetAdjacency_Internal(dm, p, useCone, useClosure, useAnchors, &numAdj, &tmpAdj)); in DMPlexCreateAdjacencySection_Static()
400 … PetscCall(DMPlexGetAdjacency_Internal(dm, p, useCone, useClosure, useAnchors, &numAdj, &tmpAdj)); in DMPlexCreateAdjacencySection_Static()
439 … PetscCall(DMPlexGetAdjacency_Internal(dm, p, useCone, useClosure, useAnchors, &numAdj, &tmpAdj)); in DMPlexCreateAdjacencySection_Static()
508 … PetscCall(DMPlexGetAdjacency_Internal(dm, p, useCone, useClosure, useAnchors, &numAdj, &tmpAdj)); in DMPlexCreateAdjacencySection_Static()
571 PetscCall(DMPlexGetMaxAdjacencySize_Internal(dm, useAnchors, &max_adjacency_size)); in DMPlexCreateAdjacencySection_Static()
598 … PetscCall(DMPlexGetAdjacency_Internal(dm, p, useCone, useClosure, useAnchors, &numAdj, &tmpAdj)); in DMPlexCreateAdjacencySection_Static()
652 … PetscCall(DMPlexGetAdjacency_Internal(dm, p, useCone, useClosure, useAnchors, &numAdj, &tmpAdj)); in DMPlexCreateAdjacencySection_Static()
/petsc/include/petsc/private/
H A Ddmpleximpl.h204 …PetscBool useAnchors; /* Replace constrai… member
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMPlex.pyx1497 def setAdjacencyUseAnchors(self, useAnchors: bool = True) -> None:
1504 useAnchors
1515 cdef PetscBool flag = useAnchors