Lines Matching refs:unprojected_gradient

26 …PetscCall(VecWhichInactive(tao->XL, tao->solution, cg->unprojected_gradient, tao->XU, PETSC_TRUE, …  in TaoBNCGEstimateActiveSet()
32 PetscCall(VecCopy(cg->unprojected_gradient, cg->W)); in TaoBNCGEstimateActiveSet()
34 …PetscCall(TaoEstimateActiveBounds(tao->solution, tao->XL, tao->XU, cg->unprojected_gradient, cg->W… in TaoBNCGEstimateActiveSet()
74 …e) PetscCall(TaoComputeObjectiveAndGradient(tao, tao->solution, &cg->f, cg->unprojected_gradient)); in TaoSolve_BNCG()
75 PetscCall(VecNorm(cg->unprojected_gradient, NORM_2, &gnorm)); in TaoSolve_BNCG()
82 PetscCall(VecCopy(cg->unprojected_gradient, tao->gradient)); in TaoSolve_BNCG()
97 PetscCall(VecFischer(tao->solution, cg->unprojected_gradient, tao->XL, tao->XU, cg->W)); in TaoSolve_BNCG()
139 if (!cg->unprojected_gradient) PetscCall(VecDuplicate(tao->gradient, &cg->unprojected_gradient)); in TaoSetUp_BNCG()
156 PetscCall(VecDestroy(&cg->unprojected_gradient)); in TaoDestroy_BNCG()
882 PetscCall(VecCopy(cg->unprojected_gradient, cg->unprojected_gradient_old)); in TaoBNCGConductIteration()
892 …PetscCall(TaoLineSearchApply(tao->linesearch, tao->solution, &cg->f, cg->unprojected_gradient, tao… in TaoBNCGConductIteration()
906 PetscCall(VecCopy(cg->unprojected_gradient_old, cg->unprojected_gradient)); in TaoBNCGConductIteration()
920 …ll(TaoLineSearchApply(tao->linesearch, tao->solution, &cg->f, cg->unprojected_gradient, tao->stepd… in TaoBNCGConductIteration()
936 …ll(TaoLineSearchApply(tao->linesearch, tao->solution, &cg->f, cg->unprojected_gradient, tao->stepd… in TaoBNCGConductIteration()
955 PetscCall(VecFischer(tao->solution, cg->unprojected_gradient, tao->XL, tao->XU, cg->W)); in TaoBNCGConductIteration()
968 PetscCall(VecCopy(cg->unprojected_gradient, tao->gradient)); in TaoBNCGConductIteration()
987 PetscCall(VecGetSubVector(cg->unprojected_gradient, cg->new_inactives, &cg->inactive_grad)); in TaoBNCGConductIteration()
991 … PetscCall(VecRestoreSubVector(cg->unprojected_gradient, cg->new_inactives, &cg->inactive_grad)); in TaoBNCGConductIteration()