Lines Matching refs:L1
444 Vec x, L1; in TaoSNESFunction_PDIPM() local
464 L1 = pdipm->x; in TaoSNESFunction_PDIPM()
465 PetscCall(VecPlaceArray(L1, Farr)); /* L1 = 0.0 */ in TaoSNESFunction_PDIPM()
470 PetscCall(MatMultTransposeAdd(tao->jacobian_inequality, tao->DI, L1, L1)); in TaoSNESFunction_PDIPM()
476 PetscCall(MatMultTransposeAdd(pdipm->Jci_xb, pdipm->lambdai_xb, L1, L1)); in TaoSNESFunction_PDIPM()
480 PetscCall(VecScale(L1, -1.0)); in TaoSNESFunction_PDIPM()
484 PetscCall(VecAXPY(L1, 1.0, tao->gradient)); in TaoSNESFunction_PDIPM()
490 PetscCall(MatMultTransposeAdd(tao->jacobian_equality, tao->DE, L1, L1)); in TaoSNESFunction_PDIPM()
496 PetscCall(MatMultTransposeAdd(pdipm->Jce_xfixed, pdipm->lambdae_xfixed, L1, L1)); in TaoSNESFunction_PDIPM()
500 PetscCall(VecResetArray(L1)); in TaoSNESFunction_PDIPM()
549 Vec L1; in TaoSNESFunction_PDIPM_residual() local
560 L1 = pdipm->x; in TaoSNESFunction_PDIPM_residual()
561 PetscCall(VecPlaceArray(L1, Farr)); in TaoSNESFunction_PDIPM_residual()
562 PetscCall(VecNorm(L1, NORM_2, &res[0])); in TaoSNESFunction_PDIPM_residual()
563 PetscCall(VecResetArray(L1)); in TaoSNESFunction_PDIPM_residual()