| /petsc/src/ksp/ksp/impls/gmres/fgmres/ |
| H A D | modpcf.c | 74 PetscInt maxits; in KSPFlexibleModifyPCKSP() local 91 PetscCall(KSPGetTolerances(sub_ksp, &rtol, &abstol, &dtol, &maxits)); in KSPFlexibleModifyPCKSP() 94 PetscCall(KSPSetTolerances(sub_ksp, rtol, abstol, dtol, maxits)); in KSPFlexibleModifyPCKSP()
|
| /petsc/src/snes/impls/richardson/ |
| H A D | snesrichardson.c | 30 PetscInt maxits, i; in SNESSolve_NRichardson() local 38 maxits = snes->max_its; /* maximum number of iterations */ in SNESSolve_NRichardson() 87 for (i = 1; i < maxits + 1; i++) { in SNESSolve_NRichardson() 130 if (i == maxits + 1) { in SNESSolve_NRichardson() 131 …all(PetscInfo(snes, "Maximum number of iterations has been reached: %" PetscInt_FMT "\n", maxits)); in SNESSolve_NRichardson()
|
| /petsc/src/ksp/pc/impls/parms/ |
| H A D | parms.c | 31 PetscInt levels, blocksize, maxdim, maxits, lfil[7]; member 177 parms_PCSetInnerMaxits(parms->pc, parms->maxits); in PCSetUp_PARMS() 216 …cCall(PetscViewerASCIIPrintf(viewer, " Maximum number of inner iterations: %d\n", parms->maxits)); in PCView_PARMS() 276 …um number of inner iterations", "PCPARMSSetSolveTolerances", parms->maxits, &parms->maxits, NULL)); in PCSetFromOptions_PARMS() 411 static PetscErrorCode PCPARMSSetSolveTolerances_PARMS(PC pc, PetscReal tol, PetscInt maxits) in PCPARMSSetSolveTolerances_PARMS() argument 420 if (maxits != parms->maxits) { in PCPARMSSetSolveTolerances_PARMS() 421 parms->maxits = maxits; in PCPARMSSetSolveTolerances_PARMS() 449 PetscErrorCode PCPARMSSetSolveTolerances(PC pc, PetscReal tol, PetscInt maxits) in PCPARMSSetSolveTolerances() argument 453 PetscTryMethod(pc, "PCPARMSSetSolveTolerances_C", (PC, PetscReal, PetscInt), (pc, tol, maxits)); in PCPARMSSetSolveTolerances() 648 parms->maxits = 0; in PCCreate_PARMS()
|
| /petsc/src/snes/impls/al/ |
| H A D | al.c | 286 PetscInt maxits, maxincs, lits; in SNESSolve_NEWTONAL() local 309 maxits = snes->max_its; /* maximum number of iterations */ in SNESSolve_NEWTONAL() 323 snes->max_its = maxits * maxincs; in SNESSolve_NEWTONAL() 342 for (PetscInt j = 0; j < maxits; j++) { in SNESSolve_NEWTONAL() 500 if (!snes->reason && j == maxits - 1) snes->reason = SNES_DIVERGED_MAX_IT; in SNESSolve_NEWTONAL() 518 snes->max_its = maxits; /* reset snes->max_its */ in SNESSolve_NEWTONAL()
|
| /petsc/src/snes/impls/ls/ |
| H A D | ls.c | 127 PetscInt maxits, i, lits; in SNESSolve_NEWTONLS() local 145 maxits = snes->max_its; /* maximum number of iterations */ in SNESSolve_NEWTONLS() 188 for (i = 0; i < maxits; i++) { in SNESSolve_NEWTONLS()
|
| /petsc/src/snes/impls/ntrdc/ |
| H A D | ntrdc.c | 301 PetscInt maxits, i, j, lits, inner_count, bs; in SNESSolve_NEWTONTRDC() local 315 maxits = snes->max_its; /* maximum number of iterations */ in SNESSolve_NEWTONTRDC() 367 for (i = 0; i < maxits; i++) { in SNESSolve_NEWTONTRDC() 562 if (i == maxits) { in SNESSolve_NEWTONTRDC() 563 …all(PetscInfo(snes, "Maximum number of iterations has been reached: %" PetscInt_FMT "\n", maxits)); in SNESSolve_NEWTONTRDC()
|
| /petsc/src/snes/impls/ncg/ |
| H A D | snesncg.c | 183 PetscInt maxits, i; in SNESSolve_NCG() local 193 maxits = snes->max_its; /* maximum number of iterations */ in SNESSolve_NCG() 255 for (i = 1; i < maxits + 1; i++) { in SNESSolve_NCG()
|
| /petsc/src/snes/impls/vi/ss/ |
| H A D | viss.c | 198 PetscInt maxits, i, lits; in SNESSolve_VINEWTONSSLS() local 217 maxits = snes->max_its; /* maximum number of iterations */ in SNESSolve_VINEWTONSSLS() 255 for (i = 0; i < maxits; i++) { in SNESSolve_VINEWTONSSLS()
|
| /petsc/src/tao/interface/ |
| H A D | taosolver.c | 1120 PetscErrorCode TaoSetMaximumIterations(Tao tao, PetscInt maxits) in TaoSetMaximumIterations() argument 1124 PetscValidLogicalCollectiveInt(tao, maxits, 2); in TaoSetMaximumIterations() 1125 if (maxits == PETSC_DETERMINE) { in TaoSetMaximumIterations() 1127 } else if (maxits == PETSC_UNLIMITED) { in TaoSetMaximumIterations() 1130 …PetscCheck(maxits > 0, PetscObjectComm((PetscObject)tao), PETSC_ERR_ARG_OUTOFRANGE, "Maximum numbe… in TaoSetMaximumIterations() 1131 tao->max_it = maxits; in TaoSetMaximumIterations() 1151 PetscErrorCode TaoGetMaximumIterations(Tao tao, PetscInt *maxits) in TaoGetMaximumIterations() argument 1155 PetscAssertPointer(maxits, 2); in TaoGetMaximumIterations() 1156 *maxits = tao->max_it; in TaoGetMaximumIterations()
|
| /petsc/src/ksp/ksp/interface/ |
| H A D | itfunc.c | 1641 …KSP ksp, PeOp PetscReal *rtol, PeOp PetscReal *abstol, PeOp PetscReal *dtol, PeOp PetscInt *maxits) in KSPGetTolerances() argument 1648 if (maxits) *maxits = ksp->max_it; in KSPGetTolerances() 1693 …orCode KSPSetTolerances(KSP ksp, PetscReal rtol, PetscReal abstol, PetscReal dtol, PetscInt maxits) in KSPSetTolerances() argument 1700 PetscValidLogicalCollectiveInt(ksp, maxits, 5); in KSPSetTolerances() 1722 if (maxits == PETSC_DETERMINE) { in KSPSetTolerances() 1724 } else if (maxits == PETSC_UNLIMITED) { in KSPSetTolerances() 1726 } else if (maxits != PETSC_CURRENT) { in KSPSetTolerances() 1727 …(maxits >= 0, PetscObjectComm((PetscObject)ksp), PETSC_ERR_ARG_OUTOFRANGE, "Maximum number of iter… in KSPSetTolerances() 1728 ksp->max_it = maxits; in KSPSetTolerances()
|
| /petsc/src/ksp/pc/impls/h2opus/ |
| H A D | pch2opus.c | 32 PetscInt maxits; member 140 …aximum number of iterations for Newton-Schultz", NULL, pch2opus->maxits, &pch2opus->maxits, NULL)); in PCSetFromOptions_H2OPUS() 619 for (i = 0; i < pch2opus->maxits; i++) { in PCSetUp_H2OPUS() 715 pch2opus->maxits = 50; in PCCreate_H2OPUS()
|
| /petsc/src/ksp/pc/impls/mg/ |
| H A D | mgfunc.c | 592 PetscInt maxits; in PCMGGetSmootherUp() local 596 PetscCall(KSPGetTolerances(mglevels[l]->smoothd, &rtol, &abstol, &dtol, &maxits)); in PCMGGetSmootherUp() 607 PetscCall(KSPSetTolerances(mglevels[l]->smoothu, rtol, abstol, dtol, maxits)); in PCMGGetSmootherUp()
|
| /petsc/src/snes/impls/vi/rs/ |
| H A D | virs.c | 299 PetscInt maxits, i, lits; in SNESSolve_VINEWTONRSLS() local 317 maxits = snes->max_its; /* maximum number of iterations */ in SNESSolve_VINEWTONRSLS() 346 for (i = 0; i < maxits; i++) { in SNESSolve_VINEWTONRSLS()
|
| /petsc/src/tao/complementarity/tutorials/ |
| H A D | minsurf1.c | 425 PetscInt i, j, k, limit = 0, maxits = 5; in MSA_BoundaryConditions() local 474 for (k = 0; k < maxits; k++) { in MSA_BoundaryConditions()
|
| /petsc/src/snes/impls/multiblock/ |
| H A D | multiblock.c | 449 PetscInt maxits, i; in SNESSolve_Multiblock() local 456 maxits = snes->max_its; /* maximum number of iterations */ in SNESSolve_Multiblock() 484 for (i = 0; i < maxits; i++) { in SNESSolve_Multiblock()
|
| /petsc/src/tao/bound/tutorials/ |
| H A D | plate2f.F90 | 513 PetscInt i, j, k, limit, maxits 529 maxits = 5 590 do while (k < maxits .and. (.not. exitloop))
|
| H A D | plate2.c | 605 PetscInt i, j, k, maxits = 5, limit = 0; in MSA_BoundaryConditions() local 666 for (k = 0; k < maxits; k++) { in MSA_BoundaryConditions()
|
| /petsc/src/snes/tutorials/ |
| H A D | ex58.c | 462 PetscInt i, j, k, limit = 0, maxits = 5; in FormBoundaryConditions() local 524 for (k = 0; k < maxits; k++) { in FormBoundaryConditions()
|
| H A D | ex4.c | 458 PetscInt i, j, k, limit = 0, maxits = 5; in FormBoundaryConditions_Enneper() local 514 for (k = 0; k < maxits; k++) { in FormBoundaryConditions_Enneper()
|
| /petsc/src/tao/unconstrained/tutorials/ |
| H A D | minsurf1.c | 473 PetscInt maxits = 5; in MSA_BoundaryConditions() local 522 for (k = 0; k < maxits; k++) { in MSA_BoundaryConditions()
|
| H A D | minsurf2.c | 689 PetscInt i, j, k, limit = 0, maxits = 5; in MSA_BoundaryConditions() local 744 for (k = 0; k < maxits; k++) { in MSA_BoundaryConditions()
|
| /petsc/src/snes/impls/tr/ |
| H A D | tr.c | 489 PetscInt maxits, lits; in SNESSolve_NEWTONTR() local 507 maxits = snes->max_its; /* maximum number of iterations */ in SNESSolve_NEWTONTR() 571 while (snes->iter < maxits) { in SNESSolve_NEWTONTR()
|
| /petsc/src/ksp/pc/impls/shell/ |
| H A D | shellpc.c | 869 …Vec x, Vec r, PetscReal rtol, PetscReal abstol, PetscReal dtol, PetscInt maxits, PetscBool zeroini… in PCShellSetApplyRichardson() argument
|
| /petsc/doc/manual/ |
| H A D | advanced.md | 325 … x,Vec y,Vec work,PetscReal rtol,PetscReal atol, PetscReal dtol,PetscInt maxits,PetscBool zerogues…
|
| /petsc/src/ts/tutorials/ |
| H A D | ex9.c | 1028 const PetscInt maxits = 50; in PhysicsRiemann_Shallow_Exact() local 1031 for (i = 0; i < maxits; i++) { in PhysicsRiemann_Shallow_Exact()
|