Searched refs:inactive_grad (Results 1 – 2 of 2) sorted by relevance
16 Vec inactive_grad, inactive_step; member
987 PetscCall(VecGetSubVector(cg->unprojected_gradient, cg->new_inactives, &cg->inactive_grad)); in TaoBNCGConductIteration()988 PetscCall(VecCopy(cg->inactive_grad, cg->inactive_step)); in TaoBNCGConductIteration()991 … PetscCall(VecRestoreSubVector(cg->unprojected_gradient, cg->new_inactives, &cg->inactive_grad)); in TaoBNCGConductIteration()