Lines Matching refs:ranges

279   const PetscInt    *aj, *ranges, *Jranges, *rranges, *cranges;  in TaoSNESJacobian_PDIPM()  local
388 PetscCall(MatGetOwnershipRanges(tao->jacobian_equality, &ranges)); in TaoSNESJacobian_PDIPM()
392 while (aj[j] >= ranges[proc + 1]) proc++; in TaoSNESJacobian_PDIPM()
394 cols[0] = aj[j] - ranges[proc] + Jranges[proc] + nx_all; in TaoSNESJacobian_PDIPM()
403 PetscCall(MatGetOwnershipRanges(tao->jacobian_inequality, &ranges)); in TaoSNESJacobian_PDIPM()
407 while (aj[j] >= ranges[proc + 1]) proc++; in TaoSNESJacobian_PDIPM()
409 cols[0] = aj[j] - ranges[proc] + Jranges[proc] + nx_all + nce_all[proc]; in TaoSNESJacobian_PDIPM()
845 const PetscInt *cols, *rranges, *cranges, *aj, *ranges; in TaoSetup_PDIPM() local
1084 PetscCall(MatGetOwnershipRanges(tao->jacobian_equality, &ranges)); in TaoSetup_PDIPM()
1088 while (aj[j] >= ranges[proc + 1]) proc++; in TaoSetup_PDIPM()
1090 col = aj[j] - ranges[proc] + Jranges[proc] + nx_all; in TaoSetup_PDIPM()
1099 PetscCall(MatGetOwnershipRanges(pdipm->Jce_xfixed, &ranges)); in TaoSetup_PDIPM()
1103 while (aj[j] >= ranges[proc + 1]) proc++; in TaoSetup_PDIPM()
1105 col = aj[j] - ranges[proc] + Jranges[proc] + nx_all + ng_all[proc]; in TaoSetup_PDIPM()
1114 PetscCall(MatGetOwnershipRanges(tao->jacobian_inequality, &ranges)); in TaoSetup_PDIPM()
1118 while (aj[j] >= ranges[proc + 1]) proc++; in TaoSetup_PDIPM()
1120 col = aj[j] - ranges[proc] + Jranges[proc] + nx_all + nce_all[proc]; in TaoSetup_PDIPM()
1128 PetscCall(MatGetOwnershipRanges(pdipm->Jci_xb, &ranges)); in TaoSetup_PDIPM()
1132 while (aj[j] >= ranges[proc + 1]) proc++; in TaoSetup_PDIPM()
1134 col = aj[j] - ranges[proc] + Jranges[proc] + nx_all + nce_all[proc] + nh_all[proc]; in TaoSetup_PDIPM()