| /petsc/src/snes/impls/tr/ |
| H A D | tr.c | 741 if (PetscIsInfOrNanReal(fkp1)) rho = neP->eta1; in SNESSolve_NEWTONTR() 744 …else rho = neP->eta1; /* no reduction in quadratic model, step must be … in SNESSolve_NEWTONTR() 760 if (rho > neP->eta1) { in SNESSolve_NEWTONTR() 847 …ionsReal("-snes_tr_eta1", "eta1", "SNESNewtonTRSetUpdateParameters", ctx->eta1, &ctx->eta1, NULL)); in SNESSetFromOptions_NEWTONTR() 882 …PetscCall(PetscViewerASCIIPrintf(viewer, " eta1=%g, eta2=%g, eta3=%g\n", (double)tr->eta1, (dou… in SNESView_NEWTONTR() 1021 PetscErrorCode SNESNewtonTRSetUpdateParameters(SNES snes, PetscReal eta1, PetscReal eta2, PetscReal… in SNESNewtonTRSetUpdateParameters() argument 1027 PetscValidLogicalCollectiveReal(snes, eta1, 2); in SNESNewtonTRSetUpdateParameters() 1036 if (eta1 == PETSC_DETERMINE) eta1 = tr->default_eta1; in SNESNewtonTRSetUpdateParameters() 1041 if (eta1 != PETSC_CURRENT) tr->eta1 = eta1; in SNESNewtonTRSetUpdateParameters() 1069 PetscErrorCode SNESNewtonTRGetUpdateParameters(SNES snes, PetscReal *eta1, PetscReal *eta2, PetscRe… in SNESNewtonTRGetUpdateParameters() argument [all …]
|
| H A D | trimpl.h | 29 PetscObjectParameterDeclare(PetscReal, eta1);
|
| /petsc/src/snes/impls/ntrdc/ |
| H A D | ntrdcimpl.h | 21 PetscReal eta1; /* Heeho's new TR-dogleg */ member
|
| H A D | ntrdc.c | 496 if (rho >= neP->eta1) { in SNESSolve_NEWTONTRDC() 600 PetscCall(PetscOptionsReal("-snes_trdc_eta1", "eta1", "None", ctx->eta1, &ctx->eta1, NULL)); in SNESSetFromOptions_NEWTONTRDC() 623 …PetscCall(PetscViewerASCIIPrintf(viewer, " eta1=%g, eta2=%g, eta3=%g\n", (double)tr->eta1, (doubl… in SNESView_NEWTONTRDC() 678 neP->eta1 = 0.001; in SNESCreate_NEWTONTRDC()
|
| /petsc/src/tao/bound/impls/tron/ |
| H A D | tron.h | 12 PetscReal eta1, eta2, eta3, eta4; member
|
| H A D | tron.c | 191 if (rhok > tron->eta1) { /* Accept the point */ in TaoSolve_TRON() 331 tron->eta1 = 1.0e-4; in TaoCreate_TRON()
|
| /petsc/src/tao/unconstrained/impls/ntr/ |
| H A D | ntrimpl.h | 33 PetscReal eta1; /* used to compute trust-region radius */ member
|
| H A D | ntr.c | 314 if (kappa < tr->eta1) { in TaoSolve_NTR() 466 …is unsuccessful if actual reduction < eta1 * predicted reduction", "", tr->eta1, &tr->eta1, NULL)); in TaoSetFromOptions_NTR() 555 tr->eta1 = 1.0e-4; in TaoCreate_NTR()
|
| /petsc/src/tao/unconstrained/impls/ntl/ |
| H A D | ntlimpl.h | 59 PetscReal eta1; /* used to compute trust-region radius */ member
|
| H A D | ntl.c | 319 if (kappa < tl->eta1) { in TaoSolve_NTL() 642 …etscOptionsReal("-tao_ntl_eta1", "poor steplength; reduce radius", "", tl->eta1, &tl->eta1, NULL)); in TaoSetFromOptions_NTL() 773 tl->eta1 = 1.0e-4; in TaoCreate_NTL()
|
| /petsc/src/tao/unconstrained/impls/nls/ |
| H A D | nlsimpl.h | 103 PetscReal eta1; /* used to compute trust-region radius */ member
|
| H A D | nls.c | 583 if (kappa < nlsP->eta1) { in TaoSolve_NLS() 747 …OptionsReal("-tao_nls_eta1", "poor steplength; reduce radius", "", nlsP->eta1, &nlsP->eta1, NULL)); in TaoSetFromOptions_NLS() 913 nlsP->eta1 = 1.0e-4; in TaoCreate_NLS()
|
| /petsc/src/tao/leastsquares/impls/pounders/ |
| H A D | pounders.h | 58 PetscReal eta1; /* parameter 2 for accepting point (eta0 < eta1 < 1)*/ member
|
| H A D | pounders.c | 779 if ((rho >= mfqP->eta1) || (rho > mfqP->eta0 && valid == PETSC_TRUE)) { in TaoSolve_POUNDERS() 824 if (rho >= mfqP->eta1 && normxsp > 0.5 * mfqP->delta) { in TaoSolve_POUNDERS() 1191 mfqP->eta1 = 0.1; in TaoCreate_POUNDERS()
|
| /petsc/src/snes/tests/output/ |
| H A D | ex1_2c_snes_tr_qn-same.out | 5 eta1=0.001, eta2=0.25, eta3=0.75
|
| H A D | ex1_2c_snes_tr_qn-different.out | 5 eta1=0.001, eta2=0.25, eta3=0.75
|
| /petsc/src/snes/tutorials/output/ |
| H A D | ex2_2.out | 11 eta1=0.001, eta2=0.25, eta3=0.75
|
| H A D | ex2_4.out | 12 eta1=0.001, eta2=0.25, eta3=0.75
|
| H A D | ex18_2.out | 4 eta1=0.001, eta2=0.25, eta3=0.75
|
| H A D | ex18_3.out | 4 eta1=0.001, eta2=0.25, eta3=0.75
|
| /petsc/src/tao/bound/impls/bnk/ |
| H A D | bnk.h | 130 PetscReal eta1; /* used to compute trust-region radius */ member
|
| H A D | bnk.c | 850 if (kappa < bnk->eta1) { in TaoBNKUpdateTrustRadius() 1086 … threshold for rejecting step (-tao_bnk_update_type reduction)", "", bnk->eta1, &bnk->eta1, NULL)); in TaoSetFromOptions_BNK() 1280 bnk->eta1 = 1.0e-4; in TaoCreate_BNK()
|
| /petsc/src/dm/impls/stag/tutorials/ |
| H A D | ex4.c | 30 PetscScalar eta1, eta2, rho1, rho2, gy, eta_characteristic; member 119 ctx->eta_characteristic = PetscMin(PetscRealPart(ctx->eta1), PetscRealPart(ctx->eta2)); in main() 336 return PetscRealPart(x) < (ctx->xmax - ctx->xmin) / 2.0 ? ctx->eta1 : ctx->eta2; in GetEta_layers() 354 return (xx * xx > 0.15 * 0.15 || yy * yy > 0.15 * 0.15) ? ctx->eta1 : ctx->eta2; in GetEta_sinker_box2() 374 …f_width || PetscAbsReal(yy) > half_width || PetscAbsReal(zz) > half_width) ? ctx->eta1 : ctx->eta2; in GetEta_sinker_box3() 394 return (xx * xx + yy * yy + zz * zz > half_width * half_width) ? ctx->eta1 : ctx->eta2; in GetEta_sinker_sphere3() 403 return ctx->eta1 + ctx->eta2 * PetscExpScalar(-20.0 * (xx * xx + yy * yy + zz * zz)); in GetEta_blob3() 471 ctx->eta1 = 1.0; in CtxCreateAndSetFromOptions() 480 ctx->eta1 = 1e20; in CtxCreateAndSetFromOptions() 489 PetscCall(PetscOptionsGetScalar(NULL, NULL, "-eta1", &ctx->eta1, NULL)); in CtxCreateAndSetFromOptions() [all …]
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | SNES.pyx | 378 … eta1: float | None = None, eta2: float | None = None, eta3: float | None = None, 386 eta1 405 if eta1 is not None: ceta1 = asReal(eta1) 419 eta1 : float
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex43.c | 926 static PetscErrorCode DMDACreateSolCx(PetscReal eta0, PetscReal eta1, PetscReal xc, PetscInt nz, Pe… in DMDACreateSolCx() argument 960 evaluate_solCx(pos, eta0, eta1, xc, nz, vel, &pressure, total_stress, strain_rate); in DMDACreateSolCx()
|