Home
last modified time | relevance | path

Searched refs:useClosure (Results 1 – 8 of 8) 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 …Static(DM dm, PetscInt bs, PetscSF sfDof, PetscBool useCone, PetscBool useClosure, PetscBool useAn… 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.c155 …de DMPlexGetAdjacency_Transitive_Internal(DM dm, PetscInt p, PetscBool useClosure, PetscInt *adjSi… in DMPlexGetAdjacency_Transitive_Internal() argument
161 PetscCall(DMPlexGetTransitiveClosure(dm, p, useClosure, &starSize, &star)); in DMPlexGetAdjacency_Transitive_Internal()
166 …PetscCall(DMPlexGetTransitiveClosure(dm, star[s], (PetscBool)!useClosure, &closureSize, (PetscInt … in DMPlexGetAdjacency_Transitive_Internal()
173 …PetscCall(DMPlexRestoreTransitiveClosure(dm, star[s], (PetscBool)!useClosure, &closureSize, (Petsc… in DMPlexGetAdjacency_Transitive_Internal()
175 PetscCall(DMPlexRestoreTransitiveClosure(dm, p, useClosure, &starSize, &star)); in DMPlexGetAdjacency_Transitive_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()
[all …]
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 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/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
5270 if (useClosure) PetscAssertPointer(useClosure, 4); in DMGetAdjacency()
5273 if (useClosure) *useClosure = dm->adjacency[1]; in DMGetAdjacency()
5280 if (useClosure) *useClosure = dm->fields[f].adjacency[1]; in DMGetAdjacency()
[all …]
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDM.pyx386 def setBasicAdjacency(self, useCone: bool, useClosure: bool) -> None:
395 useClosure : bool
404 cdef PetscBool uCl = useClosure
416 useClosure : bool
429 def setFieldAdjacency(self, field: int, useCone: bool, useClosure: bool) -> None:
440 useClosure : bool
450 cdef PetscBool uCl = useClosure
467 useClosure : bool
/petsc/doc/manual/
H A Ddmplex.md274 The second flag, `useClosure`, indicates whether we consider the
278 `useClosure = PETSC_TRUE`. By contrast, in most finite volume methods,
280 flag to `useClosure = PETSC_FALSE`. However, the power of this method
283 `useClosure = 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()