Home
last modified time | relevance | path

Searched refs:bfgsUpdates (Results 1 – 3 of 3) sorted by relevance

/petsc/src/tao/unconstrained/impls/ntl/
H A Dntl.c46 PetscInt bfgsUpdates = 0; in TaoSolve_NTL() local
239 ++bfgsUpdates; in TaoSolve_NTL()
285 bfgsUpdates = 1; in TaoSolve_NTL()
448 bfgsUpdates = 1; in TaoSolve_NTL()
452 PetscCall(MatLMVMGetUpdateCount(tl->M, &bfgsUpdates)); in TaoSolve_NTL()
453 if (1 == bfgsUpdates) { in TaoSolve_NTL()
508 bfgsUpdates = 1; in TaoSolve_NTL()
512 PetscCall(MatLMVMGetUpdateCount(tl->M, &bfgsUpdates)); in TaoSolve_NTL()
513 if (1 == bfgsUpdates) { in TaoSolve_NTL()
533 bfgsUpdates = 1; in TaoSolve_NTL()
/petsc/src/tao/unconstrained/impls/nls/
H A Dnls.c54 PetscInt bfgsUpdates = 0; in TaoSolve_NLS() local
271 ++bfgsUpdates; in TaoSolve_NLS()
324 bfgsUpdates = 1; in TaoSolve_NLS()
386 bfgsUpdates = 1; in TaoSolve_NLS()
390 PetscCall(MatLMVMGetUpdateCount(nlsP->M, &bfgsUpdates)); in TaoSolve_NLS()
391 if (1 == bfgsUpdates) { in TaoSolve_NLS()
482 bfgsUpdates = 1; in TaoSolve_NLS()
486 if (1 == bfgsUpdates) { in TaoSolve_NLS()
506 bfgsUpdates = 1; in TaoSolve_NLS()
/petsc/src/tao/bound/impls/bnk/
H A Dbnk.c402 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()
[all …]