Home
last modified time | relevance | path

Searched refs:stol (Results 1 – 25 of 48) sorted by relevance

12

/petsc/src/snes/impls/gs/
H A Dsnesgs.c33 PetscErrorCode SNESNGSSetTolerances(SNES snes, PetscReal abstol, PetscReal rtol, PetscReal stol, Pe… in SNESNGSSetTolerances() argument
48 if (stol != (PetscReal)PETSC_CURRENT) { in SNESNGSSetTolerances()
49 …PetscCheck(stol >= 0.0, PetscObjectComm((PetscObject)snes), PETSC_ERR_ARG_OUTOFRANGE, "Step tolera… in SNESNGSSetTolerances()
50 gs->stol = stol; in SNESNGSSetTolerances()
79 PetscErrorCode SNESNGSGetTolerances(SNES snes, PetscReal *atol, PetscReal *rtol, PetscReal *stol, P… in SNESNGSGetTolerances() argument
87 if (stol) *stol = gs->stol; in SNESNGSGetTolerances()
172 PetscReal rtol = PETSC_CURRENT, atol = PETSC_CURRENT, stol = PETSC_CURRENT; in SNESSetFromOptions_NGS() local
182 …ngs_stol", "Absolute update tolerance for GS iteration", "SNESComputeGS", gs->stol, &stol, &flg2)); in SNESSetFromOptions_NGS()
184 if (flg || flg1 || flg2 || flg3) PetscCall(SNESNGSSetTolerances(snes, atol, rtol, stol, max_its)); in SNESSetFromOptions_NGS()
341 gs->stol = 1000 * PETSC_MACHINE_EPSILON; in SNESCreate_NGS()
H A Dgssecant.c18 PetscReal atol, rtol, stol; in SNESComputeNGSDefaultSecant() local
32 PetscCall(SNESNGSGetTolerances(snes, &atol, &rtol, &stol, &its)); in SNESComputeNGSDefaultSecant()
104 if (stol * PetscSqrtReal(xt) > PetscSqrtReal(dxt)) isdone = PETSC_TRUE; in SNESComputeNGSDefaultSecant()
H A Dgsimpl.h11 PetscReal stol; /* step tolerance of the inner pointblock solver */ member
/petsc/src/snes/tutorials/output/
H A Dex3_2.out1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
H A Dex3_1.out1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
H A Dex3_3.out1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
H A Dex3_9.out1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
H A Dex3_8.out1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
H A Dex3_10.out1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=10000, maxf=30000
H A Dex3_7.out1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
H A Dex3_6.out1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
H A Dex3_13.out1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
H A Dex3_11.out1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
H A Dex3_12.out1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
H A Dex3k_1.out1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
H A Dex3_4.out3 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
H A Dex2_1.out1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
/petsc/src/snes/tutorials/
H A Dex2.c41 PetscReal abstol, rtol, stol, norm; 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 Dex3k.kokkos.cxx228 PetscReal abstol, rtol, stol, norm; 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/snes/tests/
H A Dex5.c31 PetscReal abstol, rtol, stol, norm; 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 Dex5_mumps.out1 atol=1e-50, rtol=1e-08, stol=1e-08, maxit=50, maxf=10000
/petsc/src/snes/impls/fas/
H A Dfasfunc.c113 …PetscCall(SNESSetTolerances(fas->next, fas->next->abstol, fas->next->rtol, fas->next->stol, fas->n… in SNESFASSetLevels()
212 …ces(fas->smoothu, fas->smoothu->abstol, fas->smoothu->rtol, fas->smoothu->stol, n, fas->smoothu->m… in SNESFASSetNumberSmoothUp()
242 …ces(fas->smoothd, fas->smoothd->abstol, fas->smoothd->rtol, fas->smoothd->stol, n, fas->smoothd->m… in SNESFASSetNumberSmoothDown()
283 …PetscCall(SNESSetTolerances(fas->smoothu, fas->fine->abstol, fas->fine->rtol, fas->fine->stol, 50,… in SNESFASSetContinuation()
316 …if (!isFine) PetscCall(SNESSetTolerances(snes, snes->abstol, snes->rtol, snes->stol, cycles, snes-… in SNESFASSetCycles()
439 …PetscCall(SNESSetTolerances(nsmooth, nsmooth->abstol, nsmooth->rtol, nsmooth->stol, nsmooth->max_i… in SNESFASCycleCreateSmoother_Private()
477 PetscCall(SNESSetTolerances(snes, snes->abstol, snes->rtol, snes->stol, cycles, snes->max_funcs)); in SNESFASCycleSetCycles()
/petsc/src/snes/linesearch/impls/nleqerr/
H A Dlinesearchnleqerr.c39 PetscReal lambda, minlambda, stol; in SNESLineSearchApply_NLEQERR() local
55 PetscCall(SNESGetTolerances(snes, NULL, NULL, &stol, NULL, NULL)); in SNESLineSearchApply_NLEQERR()
205 if (lambdadash == 1.0 && lambda == 1.0 && wnorm <= stol) { in SNESLineSearchApply_NLEQERR()
/petsc/src/snes/interface/
H A Dsnes.c426 …ve=%g, absolute=%g, solution=%g\n", (double)snes->rtol, (double)snes->abstol, (double)snes->stol)); in SNESView()
969 PetscReal rtol, abstol, stol; in SNESSetFromOptions() local
985 stol = snes->stol; in SNESSetFromOptions()
990 …Real("-snes_stol", "Stop if step length less than", "SNESSetTolerances", snes->stol, &stol, NULL)); in SNESSetFromOptions()
993 PetscCall(SNESSetTolerances(snes, abstol, rtol, stol, max_its, max_funcs)); in SNESSetFromOptions()
1796 PetscObjectParameterSetDefault(snes, stol, PetscDefined(USE_REAL_SINGLE) ? 1.e-5 : 1.e-8); in SNESParametersInitialize()
3927 PetscErrorCode SNESSetTolerances(SNES snes, PetscReal abstol, PetscReal rtol, PetscReal stol, Petsc… in SNESSetTolerances() argument
3933 PetscValidLogicalCollectiveReal(snes, stol, 4); in SNESSetTolerances()
3951 if (stol == (PetscReal)PETSC_DETERMINE) { in SNESSetTolerances()
3952 snes->stol = snes->default_stol; in SNESSetTolerances()
[all …]
/petsc/src/snes/linesearch/impls/bt/
H A Dlinesearchbt.c64 PetscReal lambda, lambdatemp, lambdaprev, minlambda, initslope, alpha, stol; in SNESLineSearchApply_BT() local
81 PetscCall(SNESGetTolerances(snes, NULL, NULL, &stol, NULL, NULL)); in SNESLineSearchApply_BT()
176 if (stol * xnorm > ynorm) { in SNESLineSearchApply_BT()
182 …: Ended due to ynorm < stol*xnorm (%14.12e < %14.12e).\n", (double)ynorm, (double)(stol * xnorm))); in SNESLineSearchApply_BT()

12