Home
last modified time | relevance | path

Searched refs:inactive_idx (Results 1 – 8 of 8) sorted by relevance

/petsc/src/tao/bound/impls/bnk/
H A Dbnk.c19 …PetscCall(MatCreateSubMatrix(tao->hessian, bnk->inactive_idx, bnk->inactive_idx, MAT_INITIAL_MATRI… in TaoBNKComputeSubHessian()
24 …PetscCall(MatCreateSubMatrix(tao->hessian_pre, bnk->inactive_idx, bnk->inactive_idx, MAT_INITIAL_M… in TaoBNKComputeSubHessian()
26 if (bnk->bfgs_pre) PetscCall(PCLMVMSetIS(bnk->bfgs_pre, bnk->inactive_idx)); in TaoBNKComputeSubHessian()
167 PetscCall(VecGetSubVector(bnk->W, bnk->inactive_idx, &bnk->X_inactive)); in TaoBNKInitialize()
168 PetscCall(VecGetSubVector(bnk->Xwork, bnk->inactive_idx, &bnk->inactive_work)); in TaoBNKInitialize()
176 PetscCall(VecRestoreSubVector(bnk->W, bnk->inactive_idx, &bnk->X_inactive)); in TaoBNKInitialize()
177 PetscCall(VecRestoreSubVector(bnk->Xwork, bnk->inactive_idx, &bnk->inactive_work)); in TaoBNKInitialize()
304 PetscCall(ISDestroy(&bnk->inactive_idx)); in TaoBNKEstimateActiveSet()
305 …ctive(tao->XL, tao->solution, bnk->unprojected_gradient, tao->XU, PETSC_TRUE, &bnk->inactive_idx)); in TaoBNKEstimateActiveSet()
307 PetscCall(ISComplementVec(bnk->inactive_idx, tao->solution, &bnk->active_idx)); in TaoBNKEstimateActiveSet()
[all …]
H A Dbnls.c111 if (needH && bnk->inactive_idx) { in TaoSolve_BNLS()
H A Dbnk.h30 IS inactive_idx, active_idx, active_lower, active_upper, active_fixed; member
H A Dbntr.c112 if (needH && bnk->inactive_idx) { in TaoSolve_BNTR()
H A Dbntl.c130 if (needH && bnk->inactive_idx) { in TaoSolve_BNTL()
/petsc/src/tao/bound/impls/bqnk/
H A Dbqnk.c34 …PetscCall(MatCreateSubMatrixVirtual(tao->hessian, bnk->inactive_idx, bnk->inactive_idx, &bnk->H_in… in TaoBQNKComputeHessian()
35 PetscCall(PCLMVMSetIS(bqnk->pc, bnk->inactive_idx)); in TaoBQNKComputeHessian()
/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.c19 if (cg->inactive_idx) { in TaoBNCGEstimateActiveSet()
20 PetscCall(ISDuplicate(cg->inactive_idx, &cg->inactive_old)); in TaoBNCGEstimateActiveSet()
21 PetscCall(ISCopy(cg->inactive_idx, cg->inactive_old)); in TaoBNCGEstimateActiveSet()
25 PetscCall(ISDestroy(&cg->inactive_idx)); in TaoBNCGEstimateActiveSet()
26 …nactive(tao->XL, tao->solution, cg->unprojected_gradient, tao->XU, PETSC_TRUE, &cg->inactive_idx)); in TaoBNCGEstimateActiveSet()
28 PetscCall(ISComplementVec(cg->inactive_idx, tao->solution, &cg->active_idx)); in TaoBNCGEstimateActiveSet()
34 …tol, &cg->active_lower, &cg->active_upper, &cg->active_fixed, &cg->active_idx, &cg->inactive_idx)); in TaoBNCGEstimateActiveSet()
168 PetscCall(ISDestroy(&cg->inactive_idx)); in TaoDestroy_BNCG()
983 …if (cg->inactive_idx && cg->inactive_old) PetscCall(ISDifference(cg->inactive_idx, cg->inactive_ol… in TaoBNCGConductIteration()