Searched refs:Hpre_inactive (Results 1 – 3 of 3) sorted by relevance
41 PetscCall(MatDestroy(&bnk->Hpre_inactive)); in TaoBQNKComputeHessian()43 bnk->Hpre_inactive = bnk->H_inactive; in TaoBQNKComputeHessian()149 PetscCall(MatDestroy(&bnk->Hpre_inactive)); in TaoDestroy_BQNK()
16 PetscCall(MatDestroy(&bnk->Hpre_inactive)); in TaoBNKComputeSubHessian()22 bnk->Hpre_inactive = bnk->H_inactive; in TaoBNKComputeSubHessian()24 …(tao->hessian_pre, bnk->inactive_idx, bnk->inactive_idx, MAT_INITIAL_MATRIX, &bnk->Hpre_inactive)); in TaoBNKComputeSubHessian()31 bnk->Hpre_inactive = tao->hessian_pre; in TaoBNKComputeSubHessian()423 if (bnk->H_inactive != bnk->Hpre_inactive) PetscCall(MatShift(bnk->Hpre_inactive, bnk->pert)); in TaoBNKComputeStep()435 PetscCall(KSPSetOperators(tao->ksp, bnk->H_inactive, bnk->Hpre_inactive)); in TaoBNKComputeStep()1036 bnk->Hpre_inactive = NULL; in TaoSetUp_BNK()1059 PetscCall(MatDestroy(&bnk->Hpre_inactive)); in TaoDestroy_BNK()
28 Mat H_inactive, Hpre_inactive; member