Home
last modified time | relevance | path

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

/petsc/src/tao/bound/impls/bnk/
H A Dbnk.c168 PetscCall(VecGetSubVector(bnk->Xwork, bnk->inactive_idx, &bnk->inactive_work)); in TaoBNKInitialize()
171 bnk->inactive_work = bnk->Xwork; in TaoBNKInitialize()
173 PetscCall(MatMult(bnk->H_inactive, bnk->X_inactive, bnk->inactive_work)); in TaoBNKInitialize()
174 PetscCall(VecDot(bnk->X_inactive, bnk->inactive_work, &prered)); in TaoBNKInitialize()
177 PetscCall(VecRestoreSubVector(bnk->Xwork, bnk->inactive_idx, &bnk->inactive_work)); in TaoBNKInitialize()
531 PetscCall(VecGetSubVector(bnk->Xwork, bnk->inactive_idx, &bnk->inactive_work)); in TaoBNKRecomputePred()
535 bnk->inactive_work = bnk->Xwork; in TaoBNKRecomputePred()
539 PetscCall(MatMult(bnk->H_inactive, bnk->X_inactive, bnk->inactive_work)); in TaoBNKRecomputePred()
540 PetscCall(VecAYPX(bnk->inactive_work, -0.5, bnk->G_inactive)); in TaoBNKRecomputePred()
541 PetscCall(VecDot(bnk->inactive_work, bnk->X_inactive, prered)); in TaoBNKRecomputePred()
[all …]
H A Dbnk.h29 Vec X_inactive, G_inactive, inactive_work, active_work; member