Home
last modified time | relevance | path

Searched refs:crtol (Results 1 – 10 of 10) sorted by relevance

/petsc/src/tao/interface/
H A Dtaosolver.c95 PetscObjectParameterSetDefault(tao, crtol, PetscDefined(USE_REAL_SINGLE) ? 1e-5 : 1e-8); in TaoParametersInitialize()
438 PetscReal catol, crtol, gatol, grtol, gttol; in TaoSetFromOptions() local
464 crtol = tao->crtol; in TaoSetFromOptions()
466 …f relative constraint violations within", "TaoSetConstraintTolerances", tao->crtol, &crtol, NULL)); in TaoSetFromOptions()
467 PetscCall(TaoSetConstraintTolerances(tao, catol, crtol)); in TaoSetFromOptions()
659 PetscCall(PetscViewerASCIIPrintf(viewer, " crtol=%g\n", (double)tao->crtol)); in TaoView()
911 PetscErrorCode TaoSetConstraintTolerances(Tao tao, PetscReal catol, PetscReal crtol) in TaoSetConstraintTolerances() argument
916 PetscValidLogicalCollectiveReal(tao, crtol, 3); in TaoSetConstraintTolerances()
925 if (crtol == (PetscReal)PETSC_DETERMINE) { in TaoSetConstraintTolerances()
926 tao->crtol = tao->default_crtol; in TaoSetConstraintTolerances()
[all …]
/petsc/src/tao/complementarity/tutorials/output/
H A Dminsurf1_2.out53 convergence tolerances: catol=1e-08, crtol=1e-08
H A Dminsurf1_1.out52 convergence tolerances: catol=1e-08, crtol=1e-08
H A Dminsurf1_2_alt.out52 convergence tolerances: catol=1e-05, crtol=1e-05
/petsc/include/petsc/private/
H A Dtaoimpl.h150 PetscObjectParameterDeclare(PetscReal, crtol);
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DSNES.pyx1201 cdef PetscReal crtol, catol, cstol
1202 crtol = catol = cstol = PETSC_CURRENT
1204 if rtol is not None: crtol = asReal(rtol)
1208 CHKERR(SNESSetTolerances(self.snes, catol, crtol, cstol,
1232 cdef PetscReal crtol=0, catol=0, cstol=0
1234 CHKERR(SNESGetTolerances(self.snes, &catol, &crtol, &cstol,
1236 return (toReal(crtol), toReal(catol), toReal(cstol), toInt(cmaxit))
2886 cdef PetscReal crtol = PETSC_DEFAULT
2892 if rtol is not None: crtol = asReal(rtol)
2896 … CHKERR(SNESLineSearchSetTolerances(self.snesls, cminstep, cmaxstep, crtol, catol, cltol, cmaxits))
H A DKSP.pyx976 cdef PetscReal crtol, catol, cdivtol
977 crtol = catol = cdivtol = PETSC_CURRENT
978 if rtol is not None: crtol = asReal(rtol)
983 CHKERR(KSPSetTolerances(self.ksp, crtol, catol, cdivtol, cmaxits))
1009 cdef PetscReal crtol=0, catol=0, cdivtol=0
1011 CHKERR(KSPGetTolerances(self.ksp, &crtol, &catol, &cdivtol, &cmaxits))
1012 return (toReal(crtol), toReal(catol), toReal(cdivtol), toInt(cmaxits))
H A DTAO.pyx1218 … def setConstraintTolerances(self, catol: float | None = None, crtol: float | None = None) -> None:
1229 crtol
1241 if crtol is not None: _crtol = asReal(crtol)
1253 crtol : float
/petsc/src/tao/constrained/impls/almm/
H A Dalmm.c478 PetscObjectParameterSetDefault(tao, crtol, 0.0); in TaoCreate_ALMM()
/petsc/doc/manual/
H A Dtao.md538 constraints is less than $\epsilon_{crtol}$ and either