Lines Matching refs:active_idx
18 if (bnk->active_idx) { in TaoBNKComputeSubHessian()
65 if (bnk->active_idx) PetscCall(VecISSet(tao->gradient, bnk->active_idx, 0.0)); in TaoBNKInitialize()
166 if (bnk->active_idx) { in TaoBNKInitialize()
175 if (bnk->active_idx) { in TaoBNKInitialize()
245 if (bnk->active_idx) PetscCall(VecISSet(tao->gradient, bnk->active_idx, 0.0)); in TaoBNKInitialize()
301 hadactive = bnk->active_idx ? PETSC_TRUE : PETSC_FALSE; in TaoBNKEstimateActiveSet()
306 PetscCall(ISDestroy(&bnk->active_idx)); in TaoBNKEstimateActiveSet()
307 PetscCall(ISComplementVec(bnk->inactive_idx, tao->solution, &bnk->active_idx)); in TaoBNKEstimateActiveSet()
332 …tol, &bnk->active_lower, &bnk->active_upper, &bnk->active_fixed, &bnk->active_idx, &bnk->inactive_… in TaoBNKEstimateActiveSet()
338 …bnk->resetksp = (PetscBool)(bnk->active_idx || hadactive); /* inactive Hessian size may have chang… in TaoBNKEstimateActiveSet()
351 if (bnk->active_idx) PetscCall(VecISSet(step, bnk->active_idx, 0.0)); in TaoBNKBoundStep()
437 if (bnk->active_idx) { in TaoBNKComputeStep()
482 if (bnk->active_idx) { in TaoBNKComputeStep()
529 if (bnk->active_idx) { in TaoBNKRecomputePred()
543 if (bnk->active_idx) { in TaoBNKRecomputePred()
1030 bnk->active_idx = NULL; in TaoSetUp_BNK()
1057 PetscCall(ISDestroy(&bnk->active_idx)); in TaoDestroy_BNK()