Home
last modified time | relevance | path

Searched refs:active_upper (Results 1 – 5 of 5) sorted by relevance

/petsc/src/tao/bound/utils/
H A Disutil.c184 …Vec W, PetscReal steplen, PetscReal *bound_tol, IS *active_lower, IS *active_upper, IS *active_fix… in TaoEstimateActiveBounds() argument
229 PetscCall(ISDestroy(active_upper)); in TaoEstimateActiveBounds()
299 PetscCall(ISCreateGeneral(comm, n_isu, isu, PETSC_OWN_POINTER, active_upper)); in TaoEstimateActiveBounds()
344 PetscErrorCode TaoBoundStep(Vec X, Vec XL, Vec XU, IS active_lower, IS active_upper, IS active_fixe… in TaoBoundStep() argument
365 if (active_upper) { in TaoBoundStep()
366 PetscCall(VecGetSubVector(S, active_upper, &step_upper)); in TaoBoundStep()
367 PetscCall(VecGetSubVector(X, active_upper, &x_upper)); in TaoBoundStep()
368 PetscCall(VecGetSubVector(XU, active_upper, &bound_upper)); in TaoBoundStep()
372 PetscCall(VecRestoreSubVector(S, active_upper, &step_upper)); in TaoBoundStep()
373 PetscCall(VecRestoreSubVector(X, active_upper, &x_upper)); in TaoBoundStep()
[all …]
/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.c34 …t, cg->W, cg->work, cg->as_step, &cg->as_tol, &cg->active_lower, &cg->active_upper, &cg->active_fi… in TaoBNCGEstimateActiveSet()
52 …PetscCall(TaoBoundStep(tao->solution, tao->XL, tao->XU, cg->active_lower, cg->active_upper, cg->ac… in TaoBNCGBoundStep()
165 PetscCall(ISDestroy(&cg->active_upper)); in TaoDestroy_BNCG()
/petsc/src/tao/bound/impls/bnk/
H A Dbnk.h30 IS inactive_idx, active_idx, active_lower, active_upper, active_fixed; member
H A Dbnk.c332 …>W, bnk->Xwork, bnk->as_step, &bnk->as_tol, &bnk->active_lower, &bnk->active_upper, &bnk->active_f… in TaoBNKEstimateActiveSet()
354 …PetscCall(TaoBoundStep(tao->solution, tao->XL, tao->XU, bnk->active_lower, bnk->active_upper, bnk-… in TaoBNKBoundStep()
1032 bnk->active_upper = NULL; in TaoSetUp_BNK()
1055 PetscCall(ISDestroy(&bnk->active_upper)); in TaoDestroy_BNK()