Lines Matching refs:touched

519     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()
633 if (!nodes[dof].touched && nodes[dof].subset == pid && local_subs[dof] == sid) { in PCBDDCGraphComputeCC_Private()
634 nodes[dof].touched = PETSC_TRUE; in PCBDDCGraphComputeCC_Private()
647 if (!nodes[dof].touched && nodes[dof].subset == pid && local_subs[dof] == sid) { in PCBDDCGraphComputeCC_Private()
648 nodes[dof].touched = PETSC_TRUE; in PCBDDCGraphComputeCC_Private()
657 if (!nodes[dof].touched && nodes[dof].subset == pid) { in PCBDDCGraphComputeCC_Private()
658 nodes[dof].touched = PETSC_TRUE; in PCBDDCGraphComputeCC_Private()
678 for (PetscInt i = 0; i < graph->nvtxs; i++) graph->nodes[i].touched = PETSC_FALSE; in PCBDDCGraphComputeConnectedComponentsLocal()
681 …f == PCBDDCGRAPH_DIRICHLET_MARK || graph->nodes[i].count < 2) graph->nodes[i].touched = PETSC_TRUE; in PCBDDCGraphComputeConnectedComponentsLocal()
698 while (graph->nodes[subset_idxs[first]].touched) first++; in PCBDDCGraphComputeConnectedComponentsLocal()
699 graph->nodes[subset_idxs[first]].touched = PETSC_TRUE; in PCBDDCGraphComputeConnectedComponentsLocal()
758 for (i = 0; i < nvtxs; i++) graph->nodes[i].touched = PETSC_FALSE; in PCBDDCGraphSetUp()
892 graph->nodes[is_indices[i]].touched = PETSC_TRUE; in PCBDDCGraphSetUp()
919 graph->nodes[i].touched = PETSC_TRUE; in PCBDDCGraphSetUp()
941 if (graph->nodes[i].touched) nodes_touched++; in PCBDDCGraphSetUp()
959 if (graph->nodes[i].touched) continue; in PCBDDCGraphSetUp()
960 graph->nodes[i].touched = PETSC_TRUE; in PCBDDCGraphSetUp()
1098 PetscBool *touched; in PCBDDCGraphSetUp() local
1103 PetscCall(PetscMalloc2(mss, &queue_global_uniq, mss, &touched)); in PCBDDCGraphSetUp()
1113 PetscCall(PetscArrayzero(touched, subset_size)); in PCBDDCGraphSetUp()
1120 while (j < subset_size && touched[j]) j++; in PCBDDCGraphSetUp()
1132 touched[k] = PETSC_TRUE; in PCBDDCGraphSetUp()
1142 PetscCall(PetscFree2(queue_global_uniq, touched)); in PCBDDCGraphSetUp()