| /petsc/src/snes/interface/ |
| H A D | snesj.c | 51 PetscInt i, N, start, end, j, value, max_funcs = snes->max_funcs; in SNESComputeJacobianDefault() local 65 snes->max_funcs = PETSC_INT_MAX; in SNESComputeJacobianDefault() 163 snes->max_funcs = max_funcs; 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 | 421 if (snes->max_funcs == PETSC_UNLIMITED) { in SNESView() 424 …etscInt_FMT ", maximum function evaluations=%" PetscInt_FMT "\n", snes->max_its, snes->max_funcs)); in SNESView() 962 PetscInt i, indx, lag, grids, max_its, max_funcs; in SNESSetFromOptions() local 987 max_funcs = snes->max_funcs; in SNESSetFromOptions() 992 …x_funcs", "Maximum function evaluations", "SNESSetTolerances", snes->max_funcs, &max_funcs, NULL)); in SNESSetFromOptions() 993 PetscCall(SNESSetTolerances(snes, abstol, rtol, stol, max_its, max_funcs)); in SNESSetFromOptions() 1793 PetscObjectParameterSetDefault(snes, max_funcs, 10000); in SNESParametersInitialize() 3407 PetscCall(SNESSetTolerances(snes->npc, 0.0, 0.0, 0.0, 1, snes->npc->max_funcs)); in SNESSetUp() 3968 snes->max_funcs = snes->default_max_funcs; in SNESSetTolerances() 3970 snes->max_funcs = PETSC_UNLIMITED; in SNESSetTolerances() [all …]
|
| /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/tao/linesearch/impls/gpcglinesearch/ |
| H A D | gpcglinesearch.c | 91 for (i = 0; i < ls->max_funcs; i++) { in TaoLineSearchApply_GPCG() 161 if ((ls->nfeval + ls->nfgeval) >= ls->max_funcs) { in TaoLineSearchApply_GPCG() 162 …ls (%" PetscInt_FMT ") > maximum (%" PetscInt_FMT ")\n", ls->nfeval + ls->nfgeval, ls->max_funcs)); in TaoLineSearchApply_GPCG() 199 ls->max_funcs = 30; in TaoLineSearchCreate_GPCG()
|
| /petsc/src/snes/impls/richardson/ |
| H A D | snesrichardson.c | 92 if (snes->nfuncs >= snes->max_funcs && snes->max_funcs >= 0) { in SNESSolve_NRichardson() 185 PetscObjectParameterSetDefault(snes, max_funcs, 30000); in SNESCreate_NRichardson()
|
| /petsc/src/tao/interface/ |
| H A D | taosolver.c | 92 PetscObjectParameterSetDefault(tao, max_funcs, PETSC_UNLIMITED); in TaoParametersInitialize() 480 … evaluations exceeds", "TaoSetMaximumFunctionEvaluations", tao->max_funcs, &tao->max_funcs, &flg)); in TaoSetFromOptions() 481 if (flg) PetscCall(TaoSetMaximumFunctionEvaluations(tao, tao->max_funcs)); in TaoSetFromOptions() 676 …if (tao->max_funcs == PETSC_UNLIMITED) PetscCall(PetscViewerASCIIPrintf(viewer, " (… in TaoView() 677 …Call(PetscViewerASCIIPrintf(viewer, " (max: %" PetscInt_FMT ")\n", tao->max_funcs)); in TaoView() 681 …if (tao->max_funcs == PETSC_UNLIMITED) PetscCall(PetscViewerASCIIPrintf(viewer, " (… in TaoView() 682 …Call(PetscViewerASCIIPrintf(viewer, " (max: %" PetscInt_FMT ")\n", tao->max_funcs)); in TaoView() 686 …if (tao->max_funcs == PETSC_UNLIMITED) PetscCall(PetscViewerASCIIPrintf(viewer, " (max: unlimit… in TaoView() 687 … else PetscCall(PetscViewerASCIIPrintf(viewer, " (max: %" PetscInt_FMT ")\n", tao->max_funcs)); in TaoView() 1040 tao->max_funcs = tao->default_max_funcs; in TaoSetMaximumFunctionEvaluations() [all …]
|
| /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() 275 if (snes->nfuncs >= snes->max_funcs && snes->max_funcs >= 0) { in SNESLineSearchApply_BT()
|
| /petsc/src/snes/impls/fas/ |
| H A D | fasfunc.c | 113 …->next, fas->next->abstol, fas->next->rtol, fas->next->stol, fas->n_cycles, fas->next->max_funcs)); in SNESFASSetLevels() 212 …moothu, fas->smoothu->abstol, fas->smoothu->rtol, fas->smoothu->stol, n, fas->smoothu->max_funcs)); in SNESFASSetNumberSmoothUp() 242 …moothd, fas->smoothd->abstol, fas->smoothd->rtol, fas->smoothd->stol, n, fas->smoothd->max_funcs)); in SNESFASSetNumberSmoothDown() 316 … PetscCall(SNESSetTolerances(snes, snes->abstol, snes->rtol, snes->stol, cycles, snes->max_funcs)); in SNESFASSetCycles() 439 …ces(nsmooth, nsmooth->abstol, nsmooth->rtol, nsmooth->stol, nsmooth->max_its, nsmooth->max_funcs)); in SNESFASCycleCreateSmoother_Private() 445 PetscCall(SNESSetTolerances(nsmooth, 0.0, 0.0, 0.0, fas->max_down_it, nsmooth->max_funcs)); in SNESFASCycleCreateSmoother_Private() 477 PetscCall(SNESSetTolerances(snes, snes->abstol, snes->rtol, snes->stol, cycles, snes->max_funcs)); in SNESFASCycleSetCycles()
|
| /petsc/src/tao/linesearch/interface/ |
| H A D | taolinesearch.c | 82 …PetscViewerASCIIPrintf(viewer, "maximum function evaluations=%" PetscInt_FMT "\n", ls->max_funcs)); in TaoLineSearchView() 126 ls->max_funcs = 30; in TaoLineSearchCreate() 334 if (ls->max_funcs < 0) { in TaoLineSearchApply() 335 …ll(PetscInfo(ls, "Bad Line Search Parameter: max_funcs (%" PetscInt_FMT ") < 0\n", ls->max_funcs)); in TaoLineSearchApply() 390 ls->max_funcs = 30; in TaoLineSearchSetType() 497 …-tao_ls_max_funcs", "max function evals in line search", "", ls->max_funcs, &ls->max_funcs, NULL)); in TaoLineSearchSetFromOptions()
|
| /petsc/include/petsc/private/ |
| H A D | taolinesearchimpl.h | 53 PetscInt max_funcs; member
|
| H A D | taoimpl.h | 154 PetscObjectParameterDeclare(PetscInt, max_funcs);
|
| /petsc/src/tao/linesearch/impls/armijo/ |
| H A D | armijo.c | 192 while (ls->step >= ls->stepmin && (ls->nfeval + ls->nfgeval) < ls->max_funcs) { in TaoLineSearchApply_Armijo() 233 } else if ((ls->nfeval + ls->nfgeval) >= ls->max_funcs) { in TaoLineSearchApply_Armijo() 234 …etscInt_FMT ") > maximum allowed (%" PetscInt_FMT ")\n", ls->nfeval + ls->nfgeval, ls->max_funcs)); in TaoLineSearchApply_Armijo()
|
| /petsc/src/tao/linesearch/impls/owarmijo/ |
| H A D | owarmijo.c | 210 while (ls->step >= owlqn_minstep && ls->nfeval < ls->max_funcs) { in TaoLineSearchApply_OWArmijo() 259 } else if (ls->nfeval >= ls->max_funcs) { in TaoLineSearchApply_OWArmijo() 260 …on evals (%" PetscInt_FMT ") > maximum allowed (%" PetscInt_FMT ")\n", ls->nfeval, ls->max_funcs)); in TaoLineSearchApply_OWArmijo()
|
| /petsc/src/tao/linesearch/impls/morethuente/ |
| H A D | morethuente.c | 113 for (i = 0; i < ls->max_funcs; i++) { in TaoLineSearchApply_MT() 129 …stepmin <= ls->rtol * ls->stepmax)) || (ls->nfeval + ls->nfgeval >= ls->max_funcs - 1) || mt->info… in TaoLineSearchApply_MT() 255 if (ls->nfeval + ls->nfgeval > ls->max_funcs) { in TaoLineSearchApply_MT() 256 …ls (%" PetscInt_FMT ") > maximum (%" PetscInt_FMT ")\n", ls->nfeval + ls->nfgeval, ls->max_funcs)); in TaoLineSearchApply_MT()
|
| /petsc/src/snes/impls/ncg/ |
| H A D | snesncg.c | 262 if (snes->nfuncs >= snes->max_funcs && snes->max_funcs >= 0) { in SNESSolve_NCG() 393 PetscObjectParameterSetDefault(snes, max_funcs, 30000); in SNESCreate_NCG()
|
| /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() 73 …fo(snes, "Exceeded maximum number of function evaluations: %" PetscInt_FMT "\n", snes->max_funcs)); in SNESTRDC_Converged_Private()
|
| /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/tao/complementarity/impls/ssls/ |
| H A D | ssils.c | 137 PetscObjectParameterSetDefault(tao, max_funcs, 4000); in TaoCreate_SSILS()
|
| H A D | ssfls.c | 147 PetscObjectParameterSetDefault(tao, max_funcs, 4000); in TaoCreate_SSFLS()
|
| /petsc/src/snes/impls/gs/ |
| H A D | snesgs.c | 334 PetscObjectParameterSetDefault(snes, max_funcs, 10000); in SNESCreate_NGS()
|
| /petsc/src/snes/impls/ngmres/ |
| H A D | anderson.c | 220 PetscObjectParameterSetDefault(snes, max_funcs, 30000); in SNESCreate_Anderson()
|
| /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() 96 …fo(snes, "Exceeded maximum number of function evaluations: %" PetscInt_FMT "\n", snes->max_funcs)); in SNESTR_Converged_Private()
|
| /petsc/src/tao/unconstrained/impls/lmvm/ |
| H A D | lmvm.c | 263 PetscObjectParameterSetDefault(tao, max_funcs, 4000); in TaoCreate_LMVM()
|
| /petsc/src/tao/unconstrained/impls/cg/ |
| H A D | taocg.c | 289 PetscObjectParameterSetDefault(tao, max_funcs, 4000); in TaoCreate_CG()
|