Searched refs:Ps (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/tao/constrained/impls/almm/ |
| H A D | almm.c | 23 PetscCall(VecZeroEntries(auglag->Ps)); in TaoSolve_ALMM() 24 PetscCall(TaoALMMCombinePrimal_Private(tao, auglag->Px, auglag->Ps, auglag->P)); in TaoSolve_ALMM() 179 if (!auglag->Ps) { /* slack vars */ in TaoSetUp_ALMM() 180 PetscCall(VecDuplicate(auglag->Ci, &auglag->Ps)); in TaoSetUp_ALMM() 189 auglag->Parr[1] = auglag->Ps; in TaoSetUp_ALMM() 193 … PetscCall(VecScatterCreate(auglag->P, auglag->Pis[1], auglag->Ps, NULL, &auglag->Pscatter[1])); in TaoSetUp_ALMM() 338 PetscCall(VecDestroy(&auglag->Ps)); /* slack vars */ in TaoDestroy_ALMM() 606 PetscCall(TaoALMMSplitPrimal_Private(tao, auglag->P, auglag->Px, auglag->Ps)); in TaoALMMEvaluateIterate_Private() 620 PetscCall(VecAXPY(auglag->Ci, -1.0, auglag->Ps)); in TaoALMMEvaluateIterate_Private()
|
| H A D | almm.h | 14 Vec Ps, LgradS, Yi, Ye; /* sub-vectors for primal variables */ member
|
| /petsc/src/ksp/ksp/impls/fetidp/ |
| H A D | fetidp.c | 978 IS F, V, Ps; in KSPFETIDPSetUpOperators() local 983 PetscCall(ISDuplicate(P, &Ps)); in KSPFETIDPSetUpOperators() 984 PetscCall(ISSort(Ps)); in KSPFETIDPSetUpOperators() 985 PetscCall(ISComplement(Ps, m, M, &V)); in KSPFETIDPSetUpOperators() 986 PetscCall(ISDestroy(&Ps)); in KSPFETIDPSetUpOperators()
|