Searched refs:G_inactive (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/tao/bound/impls/bnk/ |
| H A D | bnk.c | 438 PetscCall(VecGetSubVector(bnk->Gwork, bnk->inactive_idx, &bnk->G_inactive)); in TaoBNKComputeStep() 441 bnk->G_inactive = bnk->unprojected_gradient; 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() 483 PetscCall(VecRestoreSubVector(bnk->Gwork, bnk->inactive_idx, &bnk->G_inactive)); in TaoBNKComputeStep() 532 PetscCall(VecGetSubVector(bnk->Gwork, bnk->inactive_idx, &bnk->G_inactive)); in TaoBNKRecomputePred() 536 bnk->G_inactive = bnk->Gwork; in TaoBNKRecomputePred() 540 PetscCall(VecAYPX(bnk->inactive_work, -0.5, bnk->G_inactive)); in TaoBNKRecomputePred() 546 PetscCall(VecRestoreSubVector(bnk->Gwork, bnk->inactive_idx, &bnk->G_inactive)); in TaoBNKRecomputePred() 1026 bnk->G_inactive = NULL; in TaoSetUp_BNK()
|
| H A D | bnk.h | 29 Vec X_inactive, G_inactive, inactive_work, active_work; member
|