Home
last modified time | relevance | path

Searched refs:steplen (Results 1 – 6 of 6) sorted by relevance

/petsc/src/tao/bound/impls/bnk/
H A Dbnls.c93 PetscReal steplen = 1.0, resnorm; in TaoSolve_BNLS() local
134 PetscCall(TaoBNKPerformLineSearch(tao, &stepType, &steplen, &ls_reason)); in TaoSolve_BNLS()
143 steplen = 0.0; in TaoSolve_BNLS()
167 PetscCall(TaoMonitor(tao, tao->niter, bnk->f, resnorm, 0.0, steplen)); in TaoSolve_BNLS()
H A Dbntr.c94 PetscReal oldTrust, prered, actred, steplen = 0.0, resnorm; in TaoSolve_BNTR() local
164 steplen = 1.0; in TaoSolve_BNTR()
174 steplen = 0.0; in TaoSolve_BNTR()
192 PetscCall(TaoMonitor(tao, tao->niter, bnk->f, resnorm, 0.0, steplen)); in TaoSolve_BNTR()
H A Dbntl.c112 PetscReal oldTrust, prered, actred, steplen, resnorm; in TaoSolve_BNTL() local
177 steplen = 1.0; in TaoSolve_BNTL()
191 PetscCall(TaoBNKPerformLineSearch(tao, &stepType, &steplen, &ls_reason)); in TaoSolve_BNTL()
224 PetscCall(TaoMonitor(tao, tao->niter, bnk->f, resnorm, 0.0, steplen)); in TaoSolve_BNTL()
H A Dbnk.c690 PetscErrorCode TaoBNKPerformLineSearch(Tao tao, PetscInt *stepType, PetscReal *steplen, TaoLineSear… in TaoBNKPerformLineSearch() argument
699 …arch, tao->solution, &bnk->f, bnk->unprojected_gradient, tao->stepdirection, steplen, &ls_reason)); in TaoBNKPerformLineSearch()
777 …arch, tao->solution, &bnk->f, bnk->unprojected_gradient, tao->stepdirection, steplen, &ls_reason)); in TaoBNKPerformLineSearch()
/petsc/src/tao/bound/utils/
H A Disutil.c184 …timateActiveBounds(Vec X, Vec XL, Vec XU, Vec G, Vec S, Vec W, PetscReal steplen, PetscReal *bound… in TaoEstimateActiveBounds() argument
221 PetscCall(VecAXPBY(W, steplen, 1.0, S)); in TaoEstimateActiveBounds()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DTAO.pyx2404 cdef PetscReal steplen = 0
2406 CHKERR(TaoLineSearchApply(self.taols, x.vec, &f, g.vec, s.vec, &steplen, &reason))
2407 return (toReal(f), toReal(steplen), reason)