Lines Matching refs:bfgsUpdates
402 PetscInt bfgsUpdates = 0; in TaoBNKComputeStep() local
510 PetscCall(MatLMVMGetUpdateCount(bnk->M, &bfgsUpdates)); in TaoBNKComputeStep()
511 if ((KSP_DIVERGED_INDEFINITE_PC == *ksp_reason) && (bfgsUpdates > 0)) { in TaoBNKComputeStep()
561 PetscInt bfgsUpdates; in TaoBNKSafeguardStep() local
611 PetscCall(MatLMVMGetUpdateCount(bnk->M, &bfgsUpdates)); in TaoBNKSafeguardStep()
612 if (1 == bfgsUpdates) { in TaoBNKSafeguardStep()
695 PetscInt bfgsUpdates; in TaoBNKPerformLineSearch() local
746 bfgsUpdates = 1; in TaoBNKPerformLineSearch()
749 PetscCall(MatLMVMGetUpdateCount(bnk->M, &bfgsUpdates)); in TaoBNKPerformLineSearch()
750 if (1 == bfgsUpdates) { in TaoBNKPerformLineSearch()
768 bfgsUpdates = 1; in TaoBNKPerformLineSearch()