Searched refs:dgtest (Results 1 – 1 of 1) sorted by relevance
38 PetscReal dgx, dgy, dg, dg2, fx, fy, stx, sty, dgtest; in TaoLineSearchApply_MT() local95 dgtest = ls->ftol * dginit; in TaoLineSearchApply_MT()178 ftest1 = finit + ls->step * dgtest; in TaoLineSearchApply_MT()179 if (ls->bounded) ftest2 = finit + ls->step * dgtest * ls->ftol; in TaoLineSearchApply_MT()201 if (ls->step == ls->stepmax && *f <= ftest1 && dg <= dgtest) { in TaoLineSearchApply_MT()206 if (ls->step == ls->stepmin && *f >= ftest1 && dg >= dgtest) { in TaoLineSearchApply_MT()228 fm = *f - ls->step * dgtest; /* Define modified function */ in TaoLineSearchApply_MT()229 fxm = fx - stx * dgtest; /* and derivatives */ in TaoLineSearchApply_MT()230 fym = fy - sty * dgtest; in TaoLineSearchApply_MT()231 dgm = dg - dgtest; in TaoLineSearchApply_MT()[all …]