Lines Matching refs:XA
38 …vate(SNES snes, PetscInt ivec, PetscInt l, Vec XM, Vec FM, PetscReal fMnorm, Vec X, Vec XA, Vec FA) in SNESNGMRESFormCombinedSolution_Private() argument
97 PetscCall(VecAXPBY(XA, 1.0 - alph_total, 0.0, XM)); in SNESNGMRESFormCombinedSolution_Private()
98 PetscCall(VecMAXPY(XA, l, beta, Xdot)); in SNESNGMRESFormCombinedSolution_Private()
100 PetscCall(VecWAXPY(Y, -1.0, X, XA)); in SNESNGMRESFormCombinedSolution_Private()
101 PetscCall(SNESLineSearchPostCheck(snes->linesearch, X, Y, XA, &changed_y, &changed_w)); in SNESNGMRESFormCombinedSolution_Private()
104 PetscCall(SNESApplyNPC(snes, XA, NULL, FA)); in SNESNGMRESFormCombinedSolution_Private()
106 PetscCall(SNESComputeFunction(snes, XA, FA)); in SNESNGMRESFormCombinedSolution_Private()
115 PetscErrorCode SNESNGMRESNorms_Private(SNES snes, PetscInt l, Vec X, Vec F, Vec XM, Vec FM, Vec XA,… in SNESNGMRESNorms_Private() argument
129 if (xAnorm) PetscCall(VecNormBegin(XA, NORM_2, xAnorm)); in SNESNGMRESNorms_Private()
132 PetscCall(VecWAXPY(D, -1.0, XA, X)); in SNESNGMRESNorms_Private()
136 PetscCall(VecWAXPY(D, -1.0, XM, XA)); in SNESNGMRESNorms_Private()
141 PetscCall(VecWAXPY(D, -1.0, XA, Xdot[i])); in SNESNGMRESNorms_Private()
148 if (xAnorm) PetscCall(VecNormEnd(XA, NORM_2, xAnorm)); in SNESNGMRESNorms_Private()
163 … PetscReal xMnorm, PetscReal fMnorm, PetscReal yMnorm, PetscReal objM, Vec XA, Vec FA, PetscReal x… in SNESNGMRESSelect_Private() argument
177 …PetscCall(VecWAXPY(Y, -1.0, XA, X)); /* minus sign since linesearch expects… in SNESNGMRESSelect_Private()
230 PetscCall(VecCopy(XA, X)); in SNESNGMRESSelect_Private()
245 PetscCall(VecCopy(XA, X)); in SNESNGMRESSelect_Private()