| /petsc/src/snes/linesearch/impls/bt/ |
| H A D | linesearchbt.c | 133 if (snes->nfuncs >= snes->max_funcs && snes->max_funcs >= 0) { in SNESLineSearchApply_BT() 197 if (snes->nfuncs >= snes->max_funcs && snes->max_funcs >= 0) { in SNESLineSearchApply_BT() 198 …nction evaluations, while attempting quadratic backtracking! %" PetscInt_FMT " \n", snes->nfuncs)); in SNESLineSearchApply_BT() 275 if (snes->nfuncs >= snes->max_funcs && snes->max_funcs >= 0) { in SNESLineSearchApply_BT()
|
| /petsc/src/tao/interface/ |
| H A D | taosolver.c | 674 if (tao->nfuncs > 0) { in TaoView() 675 …ViewerASCIIPrintf(viewer, "total number of function evaluations=%" PetscInt_FMT ",", tao->nfuncs)); in TaoView() 1089 PetscErrorCode TaoGetCurrentFunctionEvaluations(Tao tao, PetscInt *nfuncs) in TaoGetCurrentFunctionEvaluations() argument 1093 PetscAssertPointer(nfuncs, 2); in TaoGetCurrentFunctionEvaluations() 1094 *nfuncs = PetscMax(tao->nfuncs, tao->nfuncgrads); in TaoGetCurrentFunctionEvaluations() 1369 tao->nfuncs += nfeval; in TaoAddLineSearchCounts() 1423 tao->nfuncs = 0; in TaoResetStatistics() 2011 PetscInt niter = tao->niter, nfuncs = PetscMax(tao->nfuncs, tao->nfuncgrads); in TaoDefaultConvergenceTest() local 2039 } else if (max_funcs != PETSC_UNLIMITED && nfuncs > max_funcs) { in TaoDefaultConvergenceTest() 2040 …imum number of function evaluations: %" PetscInt_FMT " > %" PetscInt_FMT "\n", nfuncs, max_funcs)); in TaoDefaultConvergenceTest()
|
| H A D | taosolver_fg.c | 188 tao->nfuncs++; in TaoComputeObjective() 245 tao->nfuncs++; in TaoComputeObjectiveAndGradient() 440 tao->nfuncs++; in TaoComputeResidual()
|
| /petsc/src/snes/linesearch/impls/bisection/ |
| H A D | linesearchbisection.c | 46 if (snes->nfuncs >= snes->max_funcs && snes->max_funcs >= 0) { in SNESLineSearchApply_Bisection() 147 if (snes->nfuncs >= snes->max_funcs && snes->max_funcs >= 0) { in SNESLineSearchApply_Bisection()
|
| /petsc/src/snes/interface/ |
| H A D | snesj.c | 164 snes->nfuncs -= N; in SNESComputeJacobianDefault()
|
| H A D | snesut.c | 755 } else if (snes->nfuncs >= snes->max_funcs && snes->max_funcs >= 0) { in SNESConvergedDefault() 756 …of function evaluations: %" PetscInt_FMT " > %" PetscInt_FMT "\n", snes->nfuncs, snes->max_funcs)); in SNESConvergedDefault()
|
| H A D | snes.c | 428 …erASCIIPrintf(viewer, " total number of function evaluations=%" PetscInt_FMT "\n", snes->nfuncs)); in SNESView() 725 snes->nfuncs--; /* Do not log coarser level evaluations */ in KSPComputeOperators_SNES() 1554 PetscErrorCode SNESGetNumberFunctionEvals(SNES snes, PetscInt *nfuncs) in SNESGetNumberFunctionEvals() argument 1558 PetscAssertPointer(nfuncs, 2); in SNESGetNumberFunctionEvals() 1559 *nfuncs = snes->nfuncs; in SNESGetNumberFunctionEvals() 1734 snes->nfuncs = 0; in SNESResetCounters() 1853 snes->nfuncs = 0; in SNESCreate() 2498 snes->nfuncs++; in SNESComputeFunction() 2553 snes->nfuncs++; in SNESComputeMFFunction()
|
| /petsc/src/tao/leastsquares/impls/brgn/ |
| H A D | brgn.c | 227 gn->parent->nfuncs = tao->nfuncs; in GNHookFunction() 335 tao->nfuncs = gn->subsolver->nfuncs; in TaoSolve_BRGN()
|
| /petsc/src/snes/impls/richardson/ |
| H A D | snesrichardson.c | 92 if (snes->nfuncs >= snes->max_funcs && snes->max_funcs >= 0) { in SNESSolve_NRichardson()
|
| /petsc/include/petsc/private/ |
| H A D | taoimpl.h | 119 PetscInt nfuncs; member
|
| H A D | snesimpl.h | 98 PetscInt nfuncs; /* number of function evaluations */ member
|
| /petsc/src/snes/impls/vi/ |
| H A D | vi.c | 210 } else if (snes->nfuncs >= snes->max_funcs && snes->max_funcs >= 0) { in SNESConvergedDefault_VI() 211 …of function evaluations: %" PetscInt_FMT " > %" PetscInt_FMT "\n", snes->nfuncs, snes->max_funcs)); in SNESConvergedDefault_VI()
|
| /petsc/src/snes/impls/ncg/ |
| H A D | snesncg.c | 262 if (snes->nfuncs >= snes->max_funcs && snes->max_funcs >= 0) { in SNESSolve_NCG()
|
| /petsc/src/tao/interface/ftn-custom/ |
| H A D | ztaosolverf.c | 65 PetscFortranCallbackId nfuncs; member
|
| /petsc/src/snes/impls/ntrdc/ |
| H A D | ntrdc.c | 72 } else if (snes->nfuncs >= snes->max_funcs && snes->max_funcs >= 0) { in SNESTRDC_Converged_Private()
|
| /petsc/src/tao/bound/impls/bnk/ |
| H A D | bnk.c | 381 tao->nfuncs += bnk->bncg->nfuncs; in TaoBNKTakeCGSteps()
|
| /petsc/src/snes/impls/multiblock/ |
| H A D | multiblock.c | 515 if (snes->nfuncs >= snes->max_funcs && snes->max_funcs >= 0) { in SNESSolve_Multiblock()
|
| /petsc/src/snes/impls/tr/ |
| H A D | tr.c | 95 } else if (snes->nfuncs >= snes->max_funcs && snes->max_funcs >= 0) { in SNESTR_Converged_Private()
|