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