Lines Matching refs:local_subs

372 … PetscCall(ISGlobalToLocalMappingApplyIS(fl2g, IS_GTOLM_MASK, pcbddc->local_subs[i], &is_rows[i]));  in PCBDDCNedelecSupport()
374 PetscCall(PetscObjectReference((PetscObject)pcbddc->local_subs[i])); in PCBDDCNedelecSupport()
375 is_rows[i] = pcbddc->local_subs[i]; in PCBDDCNedelecSupport()
621 PetscCall(ISGetLocalSize(pcbddc->local_subs[i], &ns)); in PCBDDCNedelecSupport()
622 PetscCall(ISGetIndices(pcbddc->local_subs[i], &idxs)); in PCBDDCNedelecSupport()
629 PetscCall(ISRestoreIndices(pcbddc->local_subs[i], &idxs)); in PCBDDCNedelecSupport()
1929 … for (PetscInt i = 0; i < pcbddc->n_local_subs; i++) PetscCall(ISDestroy(&pcbddc->local_subs[i])); in PCBDDCComputeLocalTopologyInfo()
1930 PetscCall(PetscFree(pcbddc->local_subs)); in PCBDDCComputeLocalTopologyInfo()
1937 PetscCall(PetscMalloc1(nel, &pcbddc->local_subs)); in PCBDDCComputeLocalTopologyInfo()
1939 PetscCall(ISCreateStride(PETSC_COMM_SELF, elsizes[i], c, 1, &pcbddc->local_subs[i])); in PCBDDCComputeLocalTopologyInfo()
1943 …DDCDetectDisconnectedComponents(pc, filter, &pcbddc->n_local_subs, &pcbddc->local_subs, &primalv)); in PCBDDCComputeLocalTopologyInfo()
2916 subs = pcbddc->local_subs; in PCBDDCBenignDetectSaddlePoint()
4013 for (i = 0; i < pcbddc->n_local_subs; i++) PetscCall(ISDestroy(&pcbddc->local_subs[i])); in PCBDDCResetTopography()
4015 PetscCall(PetscFree(pcbddc->local_subs)); in PCBDDCResetTopography()
5597 …; i++) PetscCall(ISLocalToGlobalMappingApplyIS(matis->rmapping, pcbddc->local_subs[i], &gsubs[i])); in PCBDDCComputeLocalMatrix()
5609 …PetscCall(MatCreateSubMatrices(tmats[0], nsubs, pcbddc->local_subs, pcbddc->local_subs, MAT_INITIA… in PCBDDCComputeLocalMatrix()
5613 …PetscCall(MatCreateNest(PETSC_COMM_SELF, nsubs, pcbddc->local_subs, nsubs, pcbddc->local_subs, mat… in PCBDDCComputeLocalMatrix()
7633 PetscInt *local_subs, n, totn; in PCBDDCAnalyzeInterface() local
7636 PetscCall(PetscMalloc1(n, &local_subs)); in PCBDDCAnalyzeInterface()
7637 for (i = 0; i < n; i++) local_subs[i] = pcbddc->n_local_subs; in PCBDDCAnalyzeInterface()
7642 PetscCall(ISGetLocalSize(pcbddc->local_subs[i], &nl)); in PCBDDCAnalyzeInterface()
7643 PetscCall(ISGetIndices(pcbddc->local_subs[i], &idxs)); in PCBDDCAnalyzeInterface()
7644 for (j = 0; j < nl; j++) local_subs[idxs[j]] = i; in PCBDDCAnalyzeInterface()
7645 PetscCall(ISRestoreIndices(pcbddc->local_subs[i], &idxs)); in PCBDDCAnalyzeInterface()
7647 for (i = 0, totn = 0; i < n; i++) totn = PetscMax(totn, local_subs[i]); in PCBDDCAnalyzeInterface()
7649 pcbddc->mat_graph->local_subs = local_subs; in PCBDDCAnalyzeInterface()