Searched refs:active_idx (Results 1 – 8 of 8) sorted by relevance
| /petsc/src/tao/bound/impls/bnk/ |
| H A D | bntl.c | 183 if (bnk->active_idx) PetscCall(VecISSet(tao->gradient, bnk->active_idx, 0.0)); in TaoSolve_BNTL() 208 if (bnk->active_idx) PetscCall(VecISSet(tao->gradient, bnk->active_idx, 0.0)); in TaoSolve_BNTL()
|
| H A D | bnk.c | 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() [all …]
|
| H A D | bnls.c | 151 if (bnk->active_idx) PetscCall(VecISSet(tao->gradient, bnk->active_idx, 0.0)); in TaoSolve_BNLS()
|
| H A D | bntr.c | 170 if (bnk->active_idx) PetscCall(VecISSet(tao->gradient, bnk->active_idx, 0.0)); in TaoSolve_BNTR()
|
| H A D | bnk.h | 30 IS inactive_idx, active_idx, active_lower, active_upper, active_fixed; member
|
| /petsc/src/tao/bound/impls/bncg/ |
| H A D | bncg.h | 18 …IS active_lower, active_upper, active_fixed, active_idx, inactive_idx, inactive_old, new_inactives; member
|
| H A D | bncg.c | 27 PetscCall(ISDestroy(&cg->active_idx)); in TaoBNCGEstimateActiveSet() 28 PetscCall(ISComplementVec(cg->inactive_idx, tao->solution, &cg->active_idx)); in TaoBNCGEstimateActiveSet() 34 …>as_tol, &cg->active_lower, &cg->active_upper, &cg->active_fixed, &cg->active_idx, &cg->inactive_i… in TaoBNCGEstimateActiveSet() 49 if (cg->active_idx) PetscCall(VecISSet(step, cg->active_idx, 0.0)); in TaoBNCGBoundStep() 83 if (cg->active_idx) PetscCall(VecISSet(tao->gradient, cg->active_idx, 0.0)); in TaoSolve_BNCG() 167 PetscCall(ISDestroy(&cg->active_idx)); in TaoDestroy_BNCG() 969 if (cg->active_idx) PetscCall(VecISSet(tao->gradient, cg->active_idx, 0.0)); in TaoBNCGConductIteration()
|
| /petsc/src/tao/bound/impls/bqnk/ |
| H A D | bqnk.c | 33 if (bnk->active_idx) { in TaoBQNKComputeHessian()
|