Lines Matching refs:max_funcs
421 if (snes->max_funcs == PETSC_UNLIMITED) {
424 PetscCall(PetscViewerASCIIPrintf(viewer, " maximum iterations=%" PetscInt_FMT ", maximum function evaluations=%" PetscInt_FMT "\n", snes->max_its, snes->max_funcs));
914 . -snes_max_funcs <max_funcs> - maximum number of function evaluations
962 PetscInt i, indx, lag, grids, max_its, max_funcs;
987 max_funcs = snes->max_funcs;
992 PetscCall(PetscOptionsInt("-snes_max_funcs", "Maximum function evaluations", "SNESSetTolerances", snes->max_funcs, &max_funcs, NULL));
993 PetscCall(SNESSetTolerances(snes, abstol, rtol, stol, max_its, max_funcs));
1793 PetscObjectParameterSetDefault(snes, max_funcs, 10000);
3407 PetscCall(SNESSetTolerances(snes->npc, 0.0, 0.0, 0.0, 1, snes->npc->max_funcs));
3968 snes->max_funcs = snes->default_max_funcs;
3970 snes->max_funcs = PETSC_UNLIMITED;
3973 snes->max_funcs = maxf;
4050 if (maxf) *maxf = snes->max_funcs;