Lines Matching refs:f_new
111 PetscReal actred, f, f_new, gnorm, gdx, stepsize, xtb; in TaoSolve_GPCG() local
189 f_new = f; in TaoSolve_GPCG()
190 …PetscCall(TaoLineSearchApply(tao->linesearch, tao->solution, &f_new, tao->gradient, tao->stepdirec… in TaoSolve_GPCG()
192 actred = f_new - f; in TaoSolve_GPCG()
197 f = f_new; in TaoSolve_GPCG()
223 PetscReal f_new, gdx, stepsize; in GPCGGradProjections() local
251 f_new = gpcg->f; in GPCGGradProjections()
252 PetscCall(TaoLineSearchApply(tao->linesearch, X, &f_new, G, DX, &stepsize, &lsflag)); in GPCGGradProjections()
255 actred = f_new - gpcg->f; in GPCGGradProjections()
256 actred_max = PetscMax(actred_max, -(f_new - gpcg->f)); in GPCGGradProjections()
257 gpcg->f = f_new; in GPCGGradProjections()