Home
last modified time | relevance | path

Searched refs:new_inactives (Results 1 – 2 of 2) sorted by relevance

/petsc/src/tao/bound/impls/bncg/
H A Dbncg.h18 …IS active_lower, active_upper, active_fixed, active_idx, inactive_idx, inactive_old, new_inactives; member
H A Dbncg.c170 PetscCall(ISDestroy(&cg->new_inactives)); in TaoDestroy_BNCG()
982 PetscCall(ISDestroy(&cg->new_inactives)); in TaoBNCGConductIteration()
983 … cg->inactive_old) PetscCall(ISDifference(cg->inactive_idx, cg->inactive_old, &cg->new_inactives)); in TaoBNCGConductIteration()
985 if (cg->new_inactives) { in TaoBNCGConductIteration()
986 PetscCall(VecGetSubVector(tao->stepdirection, cg->new_inactives, &cg->inactive_step)); in TaoBNCGConductIteration()
987 PetscCall(VecGetSubVector(cg->unprojected_gradient, cg->new_inactives, &cg->inactive_grad)); in TaoBNCGConductIteration()
990 PetscCall(VecRestoreSubVector(tao->stepdirection, cg->new_inactives, &cg->inactive_step)); in TaoBNCGConductIteration()
991 … PetscCall(VecRestoreSubVector(cg->unprojected_gradient, cg->new_inactives, &cg->inactive_grad)); in TaoBNCGConductIteration()