Searched refs:npl (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ksp/ksp/impls/fetidp/ |
| H A D | fetidp.c | 726 PetscInt npl; in KSPFETIDPSetUpOperators() local 727 PetscCall(ISGetLocalSize(Pall, &npl)); in KSPFETIDPSetUpOperators() 732 … for (i = 0; i < npl; i++) PetscCall(VecSetValue(fetidp->rhs_flip, idxs[i], -1., INSERT_VALUES)); in KSPFETIDPSetUpOperators()
|
| /petsc/src/ksp/pc/impls/bddc/ |
| H A D | bddcprivate.c | 2841 PetscInt b, bs = 1, npl, *bidxs; in PCBDDCBenignDetectSaddlePoint() local 2844 PetscCall(ISGetLocalSize(pcbddc->ISForDofsLocal[pp[p]], &npl)); in PCBDDCBenignDetectSaddlePoint() 2846 PetscCall(PetscMalloc1(npl / bs, &bidxs)); in PCBDDCBenignDetectSaddlePoint() 2850 for (i = 0; i < npl / bs; i++) bidxs[i] = idxs[bs * i + b]; in PCBDDCBenignDetectSaddlePoint() 2851 … PetscCall(ISCreateGeneral(PETSC_COMM_SELF, npl / bs, bidxs, PETSC_COPY_VALUES, &bzerodiag[bsp])); in PCBDDCBenignDetectSaddlePoint()
|