Home
last modified time | relevance | path

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

/petsc/src/tao/bound/impls/bnk/
H A Dbnk.c167 PetscCall(VecGetSubVector(bnk->W, bnk->inactive_idx, &bnk->X_inactive)); in TaoBNKInitialize()
170 bnk->X_inactive = bnk->W; 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()
176 PetscCall(VecRestoreSubVector(bnk->W, bnk->inactive_idx, &bnk->X_inactive)); in TaoBNKInitialize()
439 PetscCall(VecGetSubVector(tao->stepdirection, bnk->inactive_idx, &bnk->X_inactive)); in TaoBNKComputeStep()
442 bnk->X_inactive = tao->stepdirection; in TaoBNKComputeStep()
445 PetscCall(KSPSolve(tao->ksp, bnk->G_inactive, bnk->X_inactive)); in TaoBNKComputeStep()
471 PetscCall(KSPSolve(tao->ksp, bnk->G_inactive, bnk->X_inactive)); in TaoBNKComputeStep()
484 PetscCall(VecRestoreSubVector(tao->stepdirection, bnk->inactive_idx, &bnk->X_inactive)); in TaoBNKComputeStep()
[all …]
H A Dbnk.h29 Vec X_inactive, G_inactive, inactive_work, active_work; member