Lines Matching refs:nli
1078 PetscInt nri, nli, *start_rsize, *cum_rsize; in PCBDDCGraphSetUp() local
1091 nli = graph->cptr[graph->ncc]; in PCBDDCGraphSetUp()
1101 PetscCall(PetscMalloc1(nli, &ilocal)); in PCBDDCGraphSetUp()
1102 PetscCall(PetscMalloc1(nli, &iremote)); in PCBDDCGraphSetUp()
1104 for (PetscInt i = 0, nli = 0; i < graph->n_subsets; i++) { in PCBDDCGraphSetUp() local
1129 ilocal[nli] = subset_idxs[k]; in PCBDDCGraphSetUp()
1130 iremote[nli].rank = rr; in PCBDDCGraphSetUp()
1131 iremote[nli].index = start + ig; in PCBDDCGraphSetUp()
1133 nli++; in PCBDDCGraphSetUp()
1139 …PetscCheck(nli == graph->cptr[graph->ncc], PETSC_COMM_SELF, PETSC_ERR_PLIB, "Invalid ilocal size %… in PCBDDCGraphSetUp()
1140 …PetscCall(PetscSFSetGraph(graph->interface_subset_sf, nri, nli, ilocal, PETSC_OWN_POINTER, iremote… in PCBDDCGraphSetUp()