| /petsc/src/snes/impls/gs/ |
| H A D | snesgs.c | 33 …e SNESNGSSetTolerances(SNES snes, PetscReal abstol, PetscReal rtol, PetscReal stol, PetscInt maxit) in SNESNGSSetTolerances() argument 52 if (maxit != PETSC_CURRENT) { in SNESNGSSetTolerances() 53 …(maxit >= 0, PetscObjectComm((PetscObject)snes), PETSC_ERR_ARG_OUTOFRANGE, "Maximum number of iter… in SNESNGSSetTolerances() 54 gs->max_its = maxit; in SNESNGSSetTolerances() 79 …SNESNGSGetTolerances(SNES snes, PetscReal *atol, PetscReal *rtol, PetscReal *stol, PetscInt *maxit) in SNESNGSGetTolerances() argument 88 if (maxit) *maxit = gs->max_its; in SNESNGSGetTolerances()
|
| /petsc/src/vec/vec/utils/tagger/impls/ |
| H A D | cdf.c | 19 PetscInt maxit; member 157 PetscInt maxit, i, j, k, l, M; in VecTaggerComputeBox_CDF_SortedArray_Iterative() local 166 maxit = cdf->maxit; in VecTaggerComputeBox_CDF_SortedArray_Iterative() 208 for (k = 0; k < maxit; k++) { in VecTaggerComputeBox_CDF_SortedArray_Iterative() 394 …tf(viewer, "max its: %" PetscInt_FMT ", abs tol: %g, rel tol %g\n", cuml->maxit, (double)cuml->ato… in VecTaggerView_CDF() 412 …e boxes from CDF boxes", "VecTaggerCDFIterativeSetTolerances()", cuml->maxit, &cuml->maxit, NULL)); in VecTaggerSetFromOptions_CDF() 485 PetscErrorCode VecTaggerCDFIterativeSetTolerances(VecTagger tagger, PetscInt maxit, PetscReal rtol,… in VecTaggerCDFIterativeSetTolerances() argument 491 PetscValidLogicalCollectiveInt(tagger, maxit, 2); in VecTaggerCDFIterativeSetTolerances() 494 cuml->maxit = maxit; in VecTaggerCDFIterativeSetTolerances() 518 PetscErrorCode VecTaggerCDFIterativeGetTolerances(VecTagger tagger, PetscInt *maxit, PetscReal *rto… in VecTaggerCDFIterativeGetTolerances() argument [all …]
|
| /petsc/src/ksp/ksp/impls/rich/ |
| H A D | rich.c | 21 PetscInt i, maxit; in KSPSolve_Richardson() local 55 maxit = ksp->max_it; in KSPSolve_Richardson() 60 …if (exists && maxit > 0 && richardsonP->scale == 1.0 && (ksp->converged == KSPConvergedDefault || … in KSPSolve_Richardson() 62 …PetscCall(PCApplyRichardson(ksp->pc, b, x, r, ksp->rtol, ksp->abstol, ksp->divtol, maxit, ksp->gue… in KSPSolve_Richardson() 77 for (i = 0; i < maxit; i++) { in KSPSolve_Richardson() 100 for (i = 0; i < maxit; i++) { in KSPSolve_Richardson() 117 if (i + 1 < maxit || ksp->normtype != KSP_NORM_NONE) { in KSPSolve_Richardson()
|
| /petsc/src/snes/tutorials/ |
| H A D | ex3.c | 86 PetscInt its, N = 5, i, maxit, maxf, xs, xm; in main() local 227 PetscCall(SNESGetTolerances(snes, &abstol, &rtol, &stol, &maxit, &maxf)); in main() 228 …tscInt_FMT ", maxf=%" PetscInt_FMT "\n", (double)abstol, (double)rtol, (double)stol, maxit, maxf)); in main() 642 PetscInt iter, its, sub_its, maxit; in PostSetSubKSP() local 662 maxit = (PetscInt)(ksp_ratio * sub_its + 0.5); in PostSetSubKSP() 663 if (maxit < 2) maxit = 2; in PostSetSubKSP() 664 PetscCall(KSPSetTolerances(sub_ksp, PETSC_CURRENT, PETSC_CURRENT, PETSC_CURRENT, maxit)); in PostSetSubKSP() 665 …TSC_COMM_WORLD, " ...ksp_ratio %g, new maxit %" PetscInt_FMT "\n\n", (double)ksp_ratio, maxit)); in PostSetSubKSP()
|
| H A D | ex2.c | 38 PetscInt its, n = 5, i, maxit, maxf; in main() local 123 PetscCall(SNESGetTolerances(snes, &abstol, &rtol, &stol, &maxit, &maxf)); in main() 124 …tscInt_FMT ", maxf=%" PetscInt_FMT "\n", (double)abstol, (double)rtol, (double)stol, maxit, maxf)); in main()
|
| H A D | ex3k.kokkos.cxx | 227 PetscInt its, N = 5, maxit, maxf; in main() local 291 PetscCall(SNESGetTolerances(snes, &abstol, &rtol, &stol, &maxit, &maxf)); in main() 292 …tscInt_FMT ", maxf=%" PetscInt_FMT "\n", (double)abstol, (double)rtol, (double)stol, maxit, maxf)); in main()
|
| /petsc/src/ksp/ksp/impls/cg/cgne/ |
| H A D | cgne.c | 22 PetscInt maxit = ksp->max_it; in KSPSetUp_CGNE() local 33 PetscCall(PetscMalloc4(maxit, &cgP->e, maxit, &cgP->d, maxit, &cgP->ee, maxit, &cgP->dd)); in KSPSetUp_CGNE()
|
| /petsc/src/snes/tutorials/output/ |
| H A D | ex3_2.out | 1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
|
| H A D | ex3_3.out | 1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
|
| H A D | ex3_1.out | 1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
|
| H A D | ex3_11.out | 1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
|
| H A D | ex3_10.out | 1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=10000, maxf=30000
|
| H A D | ex3_8.out | 1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
|
| H A D | ex3_13.out | 1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
|
| H A D | ex3_7.out | 1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
|
| H A D | ex3_6.out | 1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
|
| H A D | ex3_9.out | 1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
|
| H A D | ex3_12.out | 1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
|
| H A D | ex3k_1.out | 1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
|
| H A D | ex3_4.out | 3 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
|
| /petsc/src/snes/tests/ |
| H A D | ex5.c | 28 PetscInt its, n = 5, nb, maxit, maxf, *lens; in main() local 124 PetscCall(SNESGetTolerances(snes, &abstol, &rtol, &stol, &maxit, &maxf)); in main() 125 …tscInt_FMT ", maxf=%" PetscInt_FMT "\n", (double)abstol, (double)rtol, (double)stol, maxit, maxf)); in main()
|
| /petsc/src/snes/tests/output/ |
| H A D | ex5_mumps.out | 1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
|
| /petsc/src/ksp/pc/impls/bddc/ |
| H A D | bddcnullspace.c | 152 PetscInt k, maxit; in PCBDDCNullSpaceAssembleCorrection() local 176 PetscCall(KSPGetTolerances(check_ksp, NULL, NULL, NULL, &maxit)); in PCBDDCNullSpaceAssembleCorrection() 177 …all(KSPSetTolerances(check_ksp, PETSC_CURRENT, PETSC_CURRENT, PETSC_CURRENT, PetscMin(10, maxit))); in PCBDDCNullSpaceAssembleCorrection() 206 PetscCall(KSPSetTolerances(check_ksp, PETSC_CURRENT, PETSC_CURRENT, PETSC_CURRENT, maxit)); in PCBDDCNullSpaceAssembleCorrection()
|
| /petsc/src/ksp/ksp/impls/fcg/ |
| H A D | fcg.c | 41 PetscInt maxit = ksp->max_it; in KSPSetUp_FCG() local 64 PetscCall(PetscMalloc4(maxit, &fcg->e, maxit, &fcg->d, maxit, &fcg->ee, maxit, &fcg->dd)); in KSPSetUp_FCG()
|
| /petsc/src/ksp/ksp/impls/qcg/ |
| H A D | qcg.c | 152 PetscInt i, maxit; in KSPSolve_QCG() local 162 maxit = ksp->max_it; in KSPSolve_QCG() 202 for (i = 0; i <= maxit; i++) { in KSPSolve_QCG()
|