Home
last modified time | relevance | path

Searched refs:seen (Results 1 – 22 of 22) sorted by relevance

/petsc/config/BuildSystem/
H A Dgraph.py125 def depthFirstVisit(graph, vertex, seen = None, returnFinished = 0, outEdges = 1): argument
130 if seen is None: seen = []
131 seen.append(vertex)
136 if not v in seen:
138 for v2 in DirectedGraph.depthFirstVisit(graph, v, seen, returnFinished, outEdges):
152 seen = []
154 if not vertex in seen:
156 for v in DirectedGraph.depthFirstVisit(graph, vertex, seen, returnFinished, outEdges):
169 seen = [queue[0]]
176 if not v in seen:
[all …]
/petsc/src/mat/graphops/color/utils/
H A Dweights.c40 PetscInt *seen; in MatColoringGetDegrees() local
64 PetscCall(PetscMalloc3(lm, &seen, lm, &idxbuf, lm, &distbuf)); in MatColoringGetDegrees()
65 for (i = 0; i < ln; i++) seen[i] = -1; in MatColoringGetDegrees()
76 seen[cols[j]] = i; in MatColoringGetDegrees()
90 if (seen[cols[j]] != i) { in MatColoringGetDegrees()
92 seen[cols[j]] = i; in MatColoringGetDegrees()
103 PetscCall(PetscFree3(seen, idxbuf, distbuf)); in MatColoringGetDegrees()
141 PetscInt *seen; in MatColoringCreateSmallestLastWeights() local
168 PetscCall(PetscMalloc3(lm, &seen, lm, &idxbuf, lm, &distbuf)); in MatColoringCreateSmallestLastWeights()
172 seen[i] = -1; in MatColoringCreateSmallestLastWeights()
[all …]
/petsc/src/mat/graphops/color/impls/jp/
H A Djp.c133 PetscInt *seen; in MCJPInitialLocalColor_Private() local
174 PetscCall(PetscMalloc5(n, &colormask, n, &seen, n, &idxbuf, n, &distbuf, n, &boundary)); in MCJPInitialLocalColor_Private()
176 seen[i] = -1; in MCJPInitialLocalColor_Private()
193 seen[cols[j]] = i; in MCJPInitialLocalColor_Private()
209 if (seen[cols[j]] != i) { in MCJPInitialLocalColor_Private()
211 seen[cols[j]] = i; in MCJPInitialLocalColor_Private()
219 for (i = 0; i < dn; i++) seen[i] = -1; in MCJPInitialLocalColor_Private()
230 seen[cols[j]] = cidx; in MCJPInitialLocalColor_Private()
244 if (seen[cols[j]] != cidx) { in MCJPInitialLocalColor_Private()
246 seen[cols[j]] = cidx; in MCJPInitialLocalColor_Private()
[all …]
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/
H A D_linter.py211 seen = {}
221 if combo_tup not in seen:
222 seen[combo_tup] = (func, scope)
223 elif scope >= seen[combo_tup][1]:
230 previous = seen[combo_tup][0].formatted(
231 num_before_context=2, num_after_context=startline - seen[combo_tup][0].extent.start.line
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/
H A D_utility.py238 seen: set[str] = set()
239 seen_add = seen.add
240 extra_includes = [flag for flag in include_gen if not flag in seen and not seen_add(flag)]
/petsc/doc/manualpages/MANSECHeaders/
H A DDMLabel4 Markers are integers, so it can be seen as a multimap between integers and mesh pieces.
/petsc/src/sys/tutorials/output/
H A Dex7_0.out14 2 events were seen by the handler
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/docs/
H A D_doc_section.py808 [name for seen, name in zip(visitor.arg_seen, visitor.arg_names) if not seen],
1341 seen: dict[str, SourceRange] = {}
1345 if text_no_special in seen:
1346 first_seen = seen[text_no_special]
1359 seen[text_no_special] = loc
H A D_doc_section_base.py349 seen = collections.defaultdict(list)
353 seen[possible_header.casefold()].append(
359 self.seen_headers = dict(seen)
/petsc/lib/petsc/bin/maint/
H A Dgcov.py317 seen = set()
318 return [x for x in seq if x not in seen and not seen.add(x)]
/petsc/src/dm/impls/plex/
H A Dplexorient.c622 PetscInt proc, nproc, seen, flippedA, flippedB, mismatch, numNeighbors, n; in DMPlexOrient() local
631 seen = PetscBTLookup(seenProcs, nproc); in DMPlexOrient()
635 …PetscCheck(!seen, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Previously seen procs %" PetscInt_FMT " a… in DMPlexOrient()
639 if (!seen) { in DMPlexOrient()
999 PetscInt proc, nproc, seen, flippedA, flippedB, mismatch, numNeighbors; in DMPlexOrientCells_Internal() local
1008 seen = PetscBTLookup(seenProcs, nproc); in DMPlexOrientCells_Internal()
1012 …PetscCheck(!seen, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Previously seen procs %" PetscInt_FMT " a… in DMPlexOrientCells_Internal()
1016 if (!seen) { in DMPlexOrientCells_Internal()
H A Dplexcreate.c4154 PetscBool *seen; in DMPlexCreateTPSMesh_Internal() local
4165 PetscCall(PetscCalloc1(numBlocksPlus * vertsPerBlock, &seen)); in DMPlexCreateTPSMesh_Internal()
4183 seen[vert] = PETSC_TRUE; in DMPlexCreateTPSMesh_Internal()
4190 if (seen[i]) numVertices++; in DMPlexCreateTPSMesh_Internal()
4201 if (seen[vIdx]) { in DMPlexCreateTPSMesh_Internal()
4221 PetscCall(PetscFree(seen)); in DMPlexCreateTPSMesh_Internal()
/petsc/src/dm/dt/dualspace/interface/
H A Ddualspace.c816 PetscInt *seen, *perm; in PetscDualSpaceSectionCreate_Internal() local
824 PetscCall(PetscCalloc1(pEnd - pStart, &seen)); in PetscDualSpaceSectionCreate_Internal()
833 seen[c - pStart] = 1; in PetscDualSpaceSectionCreate_Internal()
838 if (seen[point - pStart]) continue; in PetscDualSpaceSectionCreate_Internal()
840 seen[point - pStart] = 1; in PetscDualSpaceSectionCreate_Internal()
857 PetscCall(PetscFree(seen)); in PetscDualSpaceSectionCreate_Internal()
/petsc/src/mat/impls/aij/seq/
H A Dmatmatmult.c1116 char *seen; in MatMatMultSymbolic_SeqAIJ_SeqAIJ_Sorted() local
1125 PetscCall(PetscCalloc1(bn, &seen)); in MatMatMultSymbolic_SeqAIJ_SeqAIJ_Sorted()
1138 if (!seen[bcol]) { /* new entry */ in MatMatMultSymbolic_SeqAIJ_SeqAIJ_Sorted()
1142 seen[bcol] = 1; in MatMatMultSymbolic_SeqAIJ_SeqAIJ_Sorted()
1149 if (C->force_diagonals && !seen[i]) { in MatMatMultSymbolic_SeqAIJ_SeqAIJ_Sorted()
1153 seen[i] = 1; in MatMatMultSymbolic_SeqAIJ_SeqAIJ_Sorted()
1161 for (j = 0; j < packlen; j++) seen[crow[j]] = 0; in MatMatMultSymbolic_SeqAIJ_SeqAIJ_Sorted()
1164 PetscCall(PetscFree(seen)); in MatMatMultSymbolic_SeqAIJ_SeqAIJ_Sorted()
/petsc/src/vec/is/sf/interface/
H A Dsf.c2004 PetscHSetI seen; in PetscSFCheckLeavesUnique_Private() local
2009 PetscCall(PetscHSetICreate(&seen)); in PetscSFCheckLeavesUnique_Private()
2012 PetscCall(PetscHSetIAdd(seen, leaf)); in PetscSFCheckLeavesUnique_Private()
2014 PetscCall(PetscHSetIGetSize(seen, &n)); in PetscSFCheckLeavesUnique_Private()
2016 PetscCall(PetscHSetIDestroy(&seen)); in PetscSFCheckLeavesUnique_Private()
/petsc/doc/miscellaneous/
H A Dcodemanagement.md87 allow a command line option to run a small problem. We've seen people
/petsc/doc/developers/
H A Dcallbacks.md123 seen in the following code.
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DSF.pyx657 Root values to be updated, input state is seen by first process
688 Root values to be updated, input state is seen by first process
/petsc/doc/tutorials/physics/
H A Dguide_to_stokes.md59 … continuity equation, paired with the pressure test function, is called `f0_p` and can be seen here
66 …omentum excluding body force, we test against the gradient of the test function, as seen in `f1_u`,
/petsc/doc/community/meetings/2023/
H A Dindex.md341 advantages. We have solved time-dependent parabolic equations and seen
/petsc/doc/manual/
H A Dmat.md673 seen as a hybrid implementation to avoid both recursive implementation
/petsc/doc/
H A Dpetsc.bib6733 title = {Cu(ii)-porphyrin molecular dynamics as seen in a novel EPR/Stochastic Liouville
14426 speed can be seen over conventional computers.},