Home
last modified time | relevance | path

Searched refs:touched (Results 1 – 7 of 7) sorted by relevance

/petsc/src/ksp/pc/impls/bddc/
H A Dbddcgraph.c519 PetscBool *touched; in PCBDDCGraphComputeConnectedComponents() local
521 …loc3(graph->ncc + 1, &ocptr, graph->cptr[graph->ncc], &oqueue, graph->cptr[graph->ncc], &touched)); in PCBDDCGraphComputeConnectedComponents()
524 PetscCall(PetscArrayzero(touched, graph->cptr[graph->ncc])); in PCBDDCGraphComputeConnectedComponents()
544 PetscCall(PetscFree3(ocptr, oqueue, touched)); in PCBDDCGraphComputeConnectedComponents()
594 if (!nodes[dof].touched && nodes[dof].subset == pid) { in PCBDDCGraphComputeCC_Private()
595 nodes[dof].touched = PETSC_TRUE; in PCBDDCGraphComputeCC_Private()
604 if (!nodes[dof].touched && nodes[dof].subset == pid) { in PCBDDCGraphComputeCC_Private()
605 nodes[dof].touched = PETSC_TRUE; in PCBDDCGraphComputeCC_Private()
623 if (!nodes[dof].touched && nodes[dof].subset == pid && local_subs[dof] == sid) { in PCBDDCGraphComputeCC_Private()
624 nodes[dof].touched = PETSC_TRUE; in PCBDDCGraphComputeCC_Private()
[all …]
H A Dbddcschurs.c505 PetscBT touched; in PCBDDCSubSchursSetUp() local
515 PetscCall(PetscBTCreate(n_I + n_B, &touched)); in PCBDDCSubSchursSetUp()
516 PetscCall(PetscBTMemzero(n_I + n_B, touched)); in PCBDDCSubSchursSetUp()
520 for (j = 0; j < n_B; j++) PetscCall(PetscBTSet(touched, idx_B[j])); in PCBDDCSubSchursSetUp()
531 …PetscCall(PCBDDCAdjGetNextLayer_Private(local_numbering + n_local_dofs, n_prev_added, touched, xad… in PCBDDCSubSchursSetUp()
536 PetscCall(PetscBTDestroy(&touched)); in PCBDDCSubSchursSetUp()
2224 …DDCAdjGetNextLayer_Private(PetscInt *queue_tip, PetscInt n_prev, PetscBT touched, PetscInt *xadj, … in PCBDDCAdjGetNextLayer_Private() argument
2234 if (!PetscBTLookup(touched, dof)) { in PCBDDCAdjGetNextLayer_Private()
2235 PetscCall(PetscBTSet(touched, dof)); in PCBDDCAdjGetNextLayer_Private()
/petsc/src/ksp/ksp/tutorials/
H A Dex59.c181 PetscBool *touched; in ComputeSpecialBoundaryIndices() local
187 PetscCall(PetscMalloc1(localsize, &touched)); in ComputeSpecialBoundaryIndices()
188 for (i = 0; i < localsize; i++) touched[i] = PETSC_FALSE; in ComputeSpecialBoundaryIndices()
197 touched[indices[i]] = PETSC_TRUE; in ComputeSpecialBoundaryIndices()
211 if (!touched[indices[i]]) { in ComputeSpecialBoundaryIndices()
212 touched[indices[i]] = PETSC_TRUE; in ComputeSpecialBoundaryIndices()
223 if (!touched[indices[i]]) { in ComputeSpecialBoundaryIndices()
224 touched[indices[i]] = PETSC_TRUE; in ComputeSpecialBoundaryIndices()
235 if (!touched[indices[i]]) { in ComputeSpecialBoundaryIndices()
236 touched[indices[i]] = PETSC_TRUE; in ComputeSpecialBoundaryIndices()
[all …]
/petsc/src/dm/partitioner/impls/multistage/
H A Dmspart.c349 PetscBool touched, isms; in PetscPartitionerMultistageSetStages() local
374 touched = PETSC_FALSE; in PetscPartitionerMultistageSetStages()
437 if (touched && !gsize) gsize = 1; in PetscPartitionerMultistageSetStages()
439 if (lparts[l][rank]) touched = PETSC_TRUE; in PetscPartitionerMultistageSetStages()
455 wgt = touched ? 1 : 0; in PetscPartitionerMultistageSetStages()
498 …if (!p->ppart[l] && touched) isize = 1; /* if this process gets touched, needs to propagate its da… in PetscPartitionerMultistageSetStages()
/petsc/include/petsc/private/
H A Dpcbddcstructsimpl.h15 PetscBool touched; member
/petsc/doc/manual/
H A Dstreams.md58 …hreads, care must be taken that the data a thread is to compute on is first touched by that thread.
H A Dperformance.md132 memory segment is actually touched (read or write). Upon first-touch,