Lines Matching refs:stepmax
60 ostepmax = ls->stepmax; in TaoLineSearchApply_MT()
76 ls->stepmax = PetscMin(bstepmax, ls->stepmax); in TaoLineSearchApply_MT()
96 width = ls->stepmax - ls->stepmin; in TaoLineSearchApply_MT()
117 ls->stepmax = PetscMax(stx, sty); in TaoLineSearchApply_MT()
120 ls->stepmax = ls->step + xtrapf * (ls->step - stx); in TaoLineSearchApply_MT()
125 ls->step = PetscMin(ls->step, ls->stepmax); in TaoLineSearchApply_MT()
129 …p <= ls->stepmin || ls->step >= ls->stepmax)) || (mt->bracket && (ls->stepmax - ls->stepmin <= ls-… in TaoLineSearchApply_MT()
196 if ((mt->bracket && (ls->step <= ls->stepmin || ls->step >= ls->stepmax)) || !mt->infoc) { in TaoLineSearchApply_MT()
201 if (ls->step == ls->stepmax && *f <= ftest1 && dg <= dgtest) { in TaoLineSearchApply_MT()
202 PetscCall(PetscInfo(ls, "Step is at the upper bound, stepmax (%g)\n", (double)ls->stepmax)); in TaoLineSearchApply_MT()
211 if (mt->bracket && (ls->stepmax - ls->stepmin <= ls->rtol * ls->stepmax)) { in TaoLineSearchApply_MT()
259 ls->stepmax = ostepmax; in TaoLineSearchApply_MT()
374 …PetscCheck(ls->stepmax >= ls->stepmin, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "stepmax > stepm… in Tao_mcstep()
448 else if (*stp > *stx) stpc = ls->stepmax; in Tao_mcstep()
479 stpf = ls->stepmax; in Tao_mcstep()
504 stpf = PetscMin(ls->stepmax, stpf); in Tao_mcstep()