Home
last modified time | relevance | path

Searched refs:useCone (Results 1 – 13 of 13) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexpreallocate.c7 static PetscErrorCode DMPlexComputeAnchorAdjacencies(DM dm, PetscBool useCone, PetscBool useClosure… in DMPlexComputeAnchorAdjacencies() argument
83 …PetscCall(DMPlexGetAdjacency_Internal(dm, p, useCone, useClosure, PETSC_TRUE, &numAdjP, &tmpAdjP)); in DMPlexComputeAnchorAdjacencies()
88 …PetscCall(DMPlexGetAdjacency_Internal(dm, q, useCone, useClosure, PETSC_TRUE, &numAdjQ, &tmpAdjQ)); in DMPlexComputeAnchorAdjacencies()
114 …PetscCall(DMPlexGetAdjacency_Internal(dm, p, useCone, useClosure, PETSC_TRUE, &numAdjP, &tmpAdjP)); in DMPlexComputeAnchorAdjacencies()
122 …PetscCall(DMPlexGetAdjacency_Internal(dm, q, useCone, useClosure, PETSC_TRUE, &numAdjQ, &tmpAdjQ)); in DMPlexComputeAnchorAdjacencies()
239 …eateAdjacencySection_Static(DM dm, PetscInt bs, PetscSF sfDof, PetscBool useCone, PetscBool useClo… in DMPlexCreateAdjacencySection_Static() argument
353 PetscCall(DMPlexComputeAnchorAdjacencies(dm, useCone, useClosure, &anchorSectionAdj, &anchorAdj)); in DMPlexCreateAdjacencySection_Static()
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()
[all …]
H A Dplexdistribute.c224 PetscErrorCode DMPlexGetAdjacency_Internal(DM dm, PetscInt p, PetscBool useCone, PetscBool useTrans… in DMPlexGetAdjacency_Internal() argument
251 PetscCall(DMPlexGetAdjacency_Transitive_Internal(dm, p, useCone, adjSize, *adj)); in DMPlexGetAdjacency_Internal()
252 } else if (useCone) { in DMPlexGetAdjacency_Internal()
314 PetscBool useCone, useClosure, useAnchors; in DMPlexGetAdjacency() local
320 PetscCall(DMGetBasicAdjacency(dm, &useCone, &useClosure)); in DMPlexGetAdjacency()
322 PetscCall(DMPlexGetAdjacency_Internal(dm, p, useCone, useClosure, useAnchors, adjSize, adj)); in DMPlexGetAdjacency()
1173 PetscBool useCone, useClosure, useAnchors; in DMPlexDistributeCones() local
1175 PetscCall(DMGetBasicAdjacency(dm, &useCone, &useClosure)); in DMPlexDistributeCones()
1176 PetscCall(DMSetBasicAdjacency(dmParallel, useCone, useClosure)); in DMPlexDistributeCones()
H A Dplexpartition.c19 PetscBool useCone, useClosure; in DMPlexCreatePartitionerGraph_Overlap() local
43 PetscCall(DMGetBasicAdjacency(dm, &useCone, &useClosure)); in DMPlexCreatePartitionerGraph_Overlap()
100 PetscCall(DMSetBasicAdjacency(dm, useCone, useClosure)); in DMPlexCreatePartitionerGraph_Overlap()
117 PetscBool useCone, useClosure; in DMPlexCreatePartitionerGraph_Native() local
151 PetscCall(DMGetBasicAdjacency(dm, &useCone, &useClosure)); in DMPlexCreatePartitionerGraph_Native()
261 PetscCall(DMSetBasicAdjacency(dm, useCone, useClosure)); in DMPlexCreatePartitionerGraph_Native()
H A Dplex.c3968 …Code DMPlexGetTransitiveClosure_Hot_Private(DM dm, PetscInt p, PetscBool useCone, PetscInt *size, … in DMPlexGetTransitiveClosure_Hot_Private() argument
3974 if (useCone) { in DMPlexGetTransitiveClosure_Hot_Private()
3982 if (useCone) { in DMPlexGetTransitiveClosure_Hot_Private()
4002 … DMPlexRestoreTransitiveClosure_Hot_Private(DM dm, PetscInt p, PetscBool useCone, PetscInt *size, … in DMPlexRestoreTransitiveClosure_Hot_Private() argument
4008 if (useCone) PetscCall(DMPlexRestoreOrientedCone(dm, p, arr, ornt)); in DMPlexRestoreTransitiveClosure_Hot_Private()
4013 …sitiveClosure_Depth1_Private(DM dm, PetscInt p, PetscInt ornt, PetscBool useCone, PetscInt *numPoi… in DMPlexGetTransitiveClosure_Depth1_Private() argument
4032 PetscCall(DMPlexGetTransitiveClosure_Hot_Private(dm, p, useCone, &tmpSize, &tmp, &tmpO)); in DMPlexGetTransitiveClosure_Depth1_Private()
4054 PetscCall(DMPlexRestoreTransitiveClosure_Hot_Private(dm, p, useCone, &tmpSize, &tmp, &tmpO)); in DMPlexGetTransitiveClosure_Depth1_Private()
4061 …Internal(DM dm, PetscInt point, DMPolytopeType ct, PetscInt o, PetscBool useCone, PetscInt *numPoi… in DMPlexTransitiveClosure_Tensor_Internal() argument
4084 … 2 + 0]], DMPolytopeTypeComposeOrientation(ft, arr[0 * 2 + 1], ornt[0]), useCone, &clSize, &closur… in DMPlexTransitiveClosure_Tensor_Internal()
[all …]
H A Dplexsubmesh.c1060 PetscBool useCone, useClosure; in DMPlexConstructGhostCells() local
1070 PetscCall(DMGetBasicAdjacency(dm, &useCone, &useClosure)); in DMPlexConstructGhostCells()
1071 PetscCall(DMSetBasicAdjacency(gdm, useCone, useClosure)); in DMPlexConstructGhostCells()
/petsc/src/dm/impls/plex/ftn-custom/
H A Dzplexf90.c102 PETSC_EXTERN void dmplexgettransitiveclosure_(DM *dm, PetscInt *p, PetscBool *useCone, PetscInt *N,… in dmplexgettransitiveclosure_() argument
108 *ierr = DMPlexGetTransitiveClosure(*dm, *p, *useCone, &n, &v); in dmplexgettransitiveclosure_()
114 PETSC_EXTERN void dmplexrestoretransitiveclosure_(DM *dm, PetscInt *p, PetscBool *useCone, PetscInt… in dmplexrestoretransitiveclosure_() argument
120 *ierr = DMPlexRestoreTransitiveClosure(*dm, *p, *useCone, NULL, &array); in dmplexrestoretransitiveclosure_()
/petsc/src/dm/interface/
H A Ddm.c204 PetscBool useCone, useClosure; in DMClone() local
206 PetscCall(DMGetAdjacency(dm, PETSC_DEFAULT, &useCone, &useClosure)); in DMClone()
207 PetscCall(DMSetAdjacency(*newdm, PETSC_DEFAULT, useCone, useClosure)); in DMClone()
5216 PetscBool useCone, useClosure; in DMCopyFields() local
5229 PetscCall(DMGetAdjacency(dm, f, &useCone, &useClosure)); in DMCopyFields()
5230 PetscCall(DMSetAdjacency(newdm, f, useCone, useClosure)); in DMCopyFields()
5265 PetscErrorCode DMGetAdjacency(DM dm, PetscInt f, PetscBool *useCone, PetscBool *useClosure) in DMGetAdjacency() argument
5269 if (useCone) PetscAssertPointer(useCone, 3); in DMGetAdjacency()
5272 if (useCone) *useCone = dm->adjacency[0]; in DMGetAdjacency()
5279 if (useCone) *useCone = dm->fields[f].adjacency[0]; in DMGetAdjacency()
[all …]
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDM.pyx386 def setBasicAdjacency(self, useCone: bool, useClosure: bool) -> None:
393 useCone : bool
403 cdef PetscBool uC = useCone
414 useCone : bool
429 def setFieldAdjacency(self, field: int, useCone: bool, useClosure: bool) -> None:
438 useCone : bool
449 cdef PetscBool uC = useCone
465 useCone : bool
H A DDMPlex.pyx1184 … def getTransitiveClosure(self, p: int, useCone: bool | None = True) -> tuple[ArrayInt, ArrayInt]:
1193 useCone
1213 cdef PetscBool cuseCone = useCone
/petsc/src/binding/petsc4py/test/
H A Dtest_dmplex.py58 star = self.plex.getTransitiveClosure(p, useCone=False)[0]
123 points, orient = self.plex.getTransitiveClosure(f, useCone=True)
/petsc/src/binding/petsc4py/docs/ipynb/
H A Ddmplex.ipynb472 …es to follow a right-handed convention). There is a flag in the routine, useCone, which if set to …
515 " suppclose,orient = plex.getTransitiveClosure(i,useCone=False)\n",
/petsc/doc/manual/
H A Ddmplex.md266 maintaining good defaults. The pattern is controlled by two flags. The first flag, `useCone`,
271 point, and we set the flag to `useCone = PETSC_FALSE`. By contrast,
273 then to the neighbors, so we set the flag to `useCone = PETSC_TRUE`.
/petsc/src/ksp/pc/impls/bddc/
H A Dbddcprivate.c2424 PetscBool useCone, useClosure; in PCBDDCDetectDisconnectedComponents() local
2438 PetscCall(DMGetBasicAdjacency(dm, &useCone, &useClosure)); in PCBDDCDetectDisconnectedComponents()
2460 PetscCall(DMSetBasicAdjacency(dm, useCone, useClosure)); in PCBDDCDetectDisconnectedComponents()