Home
last modified time | relevance | path

Searched refs:f_new (Results 1 – 4 of 4) sorted by relevance

/petsc/src/tao/quadratic/impls/gpcg/
H A Dgpcg.c111 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()
[all …]
H A Dgpcg.h9 PetscReal f_new; member
/petsc/src/tao/bound/impls/tron/
H A Dtron.c73 PetscReal prered, actred, delta, f, f_new, rhok, gdx, xdiff, stepsize; in TaoSolve_TRON() local
172 f_new = f; in TaoSolve_TRON()
175 …PetscCall(TaoLineSearchApply(tao->linesearch, tron->X_New, &f_new, tron->G_New, tao->stepdirection… in TaoSolve_TRON()
181 actred = f_new - f; in TaoSolve_TRON()
210 f = f_new; in TaoSolve_TRON()
238 PetscReal f_new; in TronGradientProjections() local
252 f_new = tron->f; in TronGradientProjections()
257 …PetscCall(TaoLineSearchApply(tao->linesearch, tao->solution, &f_new, tao->gradient, tao->stepdirec… in TronGradientProjections()
264 actred = f_new - tron->f; in TronGradientProjections()
265 actred_max = PetscMax(actred_max, -(f_new - tron->f)); in TronGradientProjections()
[all …]
H A Dtron.h10 PetscReal f_new; member