Lines Matching refs:useAnchors

69 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()
257 if (useAnchors && aSec) { in DMPlexGetAdjacency_Internal()
314 PetscBool useCone, useClosure, useAnchors; in DMPlexGetAdjacency() local
321 PetscCall(DMPlexGetAdjacencyUseAnchors(dm, &useAnchors)); in DMPlexGetAdjacency()
322 PetscCall(DMPlexGetAdjacency_Internal(dm, p, useCone, useClosure, useAnchors, adjSize, adj)); in DMPlexGetAdjacency()
1173 PetscBool useCone, useClosure, useAnchors; in DMPlexDistributeCones() local
1177 PetscCall(DMPlexGetAdjacencyUseAnchors(dm, &useAnchors)); in DMPlexDistributeCones()
1178 PetscCall(DMPlexSetAdjacencyUseAnchors(dmParallel, useAnchors)); in DMPlexDistributeCones()
1398 pmesh->useAnchors = mesh->useAnchors; in DMPlexDistributeSetupTree()