Lines Matching refs:stepdirection
47 PetscCall(VecDuplicate(tao->solution, &tao->stepdirection)); in TaoSetUp_ASILS()
185 PetscCall(VecSet(tao->stepdirection, 0.0)); in TaoSolve_ASILS()
186 PetscCall(VecISAXPY(tao->stepdirection, asls->fixed, 1.0, asls->r1)); in TaoSolve_ASILS()
207 PetscCall(MatMult(tao->jacobian, tao->stepdirection, asls->t1)); in TaoSolve_ASILS()
222 … PetscCall(TaoVecGetSubVec(tao->stepdirection, asls->free, tao->subset_type, 0.0, &asls->dxfree)); in TaoSolve_ASILS()
234 PetscCall(VecISAXPY(tao->stepdirection, asls->free, 1.0, asls->dxfree)); in TaoSolve_ASILS()
238 PetscCall(VecNorm(tao->stepdirection, NORM_2, &normd)); in TaoSolve_ASILS()
239 PetscCall(VecDot(tao->stepdirection, asls->dpsi, &innerd)); in TaoSolve_ASILS()
244 PetscCall(VecCopy(asls->dpsi, tao->stepdirection)); in TaoSolve_ASILS()
245 PetscCall(VecDot(asls->dpsi, tao->stepdirection, &innerd)); in TaoSolve_ASILS()
248 PetscCall(VecScale(tao->stepdirection, -1.0)); in TaoSolve_ASILS()
254 …ineSearchApply(tao->linesearch, tao->solution, &psi, asls->dpsi, tao->stepdirection, &t, &ls_reaso… in TaoSolve_ASILS()