| /petsc/src/ksp/ksp/interface/ |
| H A D | itcl.c | 346 PetscReal rtol, abstol, divtol; in KSPSetFromOptions() local 418 divtol = ksp->divtol; in KSPSetFromOptions() 422 …vtol", "Residual norm increase cause divergence", "KSPSetTolerances", ksp->divtol, &divtol, NULL)); in KSPSetFromOptions() 424 PetscCall(KSPSetTolerances(ksp, rtol, abstol, divtol, max_it)); in KSPSetFromOptions()
|
| H A D | itcreate.c | 138 …e=%g, absolute=%g, divergence=%g\n", (double)ksp->rtol, (double)ksp->abstol, (double)ksp->divtol)); in KSPView() 752 ksp->default_divtol = ksp->divtol = 1.e4; in KSPCreate()
|
| H A D | itfunc.c | 1647 if (dtol) *dtol = ksp->divtol; in KSPGetTolerances() 1715 ksp->divtol = ksp->default_divtol; in KSPSetTolerances() 1717 ksp->divtol = PETSC_MAX_REAL; in KSPSetTolerances() 1720 ksp->divtol = dtol; in KSPSetTolerances()
|
| H A D | iterativ.c | 1605 } else if (rnorm >= ksp->divtol * ksp->rnorm0) { in KSPConvergedDefault()
|
| /petsc/src/snes/interface/ |
| H A D | snes.c | 995 … norm increases by this factor", "SNESSetDivergenceTolerance", snes->divtol, &snes->divtol, &flg)); in SNESSetFromOptions() 996 if (flg) PetscCall(SNESSetDivergenceTolerance(snes, snes->divtol)); in SNESSetFromOptions() 1797 PetscObjectParameterSetDefault(snes, divtol, 1.e4); in SNESParametersInitialize() 4001 PetscErrorCode SNESSetDivergenceTolerance(SNES snes, PetscReal divtol) in SNESSetDivergenceTolerance() argument 4005 PetscValidLogicalCollectiveReal(snes, divtol, 2); in SNESSetDivergenceTolerance() 4007 if (divtol == (PetscReal)PETSC_DETERMINE) { in SNESSetDivergenceTolerance() 4008 snes->divtol = snes->default_divtol; in SNESSetDivergenceTolerance() 4009 } else if (divtol == (PetscReal)PETSC_UNLIMITED || divtol == -1) { in SNESSetDivergenceTolerance() 4010 snes->divtol = PETSC_UNLIMITED; in SNESSetDivergenceTolerance() 4011 } else if (divtol != (PetscReal)PETSC_CURRENT) { in SNESSetDivergenceTolerance() [all …]
|
| H A D | snesut.c | 767 } else if (snes->divtol != PETSC_UNLIMITED && (fnorm > snes->divtol * snes->rnorm0)) { in SNESConvergedDefault() 768 …ction norm: %14.12e > %14.12e * %14.12e\n", (double)fnorm, (double)snes->divtol, (double)snes->rno… in SNESConvergedDefault()
|
| /petsc/src/ksp/ksp/impls/rich/ |
| H A D | rich.c | 62 …PetscCall(PCApplyRichardson(ksp->pc, b, x, r, ksp->rtol, ksp->abstol, ksp->divtol, maxit, ksp->gue… in KSPSolve_Richardson()
|
| /petsc/include/petsc/private/ |
| H A D | snesimpl.h | 115 PetscObjectParameterDeclare(PetscReal, divtol); /* relative divergence tolerance */
|
| H A D | kspimpl.h | 99 PetscObjectParameterDeclare(PetscReal, divtol); /* divergence tolerance */
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | KSP.pyx | 932 divtol: float | None = None, 980 if divtol is not None: cdivtol = asReal(divtol) 2357 property divtol: 2363 self.setTolerances(divtol=value)
|
| /petsc/src/ksp/pc/impls/bjacobi/bjkokkos/ |
| H A D | bjkokkos.kokkos.cxx | 541 PetscReal rtol = jac->ksp->rtol, atol = jac->ksp->abstol, dtol = jac->ksp->divtol; in PCApply_BJKOKKOS() 1059 … ", type = %s\n", jac->nwork, jac->ksp->rtol, jac->ksp->abstol, jac->ksp->divtol, jac->ksp->max_it, in PCView_BJKOKKOS()
|
| /petsc/src/ksp/ksp/impls/fetidp/ |
| H A D | fetidp.c | 1127 PetscCall(KSPSetTolerances(fetidp->innerksp, ksp->rtol, ksp->abstol, ksp->divtol, ksp->max_it)); in KSPSetUp_FETIDP()
|