SNESNewtonTRSetUpdateParameters#
Sets the trust region update parameters.
Synopsis#
#include "petscsnes.h"
PetscErrorCode SNESNewtonTRSetUpdateParameters(SNES snes, PetscReal eta1, PetscReal eta2, PetscReal eta3, PetscReal t1, PetscReal t2)
Logically Collective
Input Parameters#
snes - the
SNES
contexteta1 - acceptance tolerance
eta2 - shrinking tolerance
eta3 - enlarging tolerance
t1 - shrink factor
t2 - enlarge factor
Options Database Key#
-snes_tr_eta1
- Set eta1-snes_tr_eta2
- Set eta2-snes_tr_eta3
- Set eta3-snes_tr_t1
- Set t1-snes_tr_t2
- Set t2
Notes#
Given the ratio , with the current iterate,
the computed step, the objective function, and the quadratic model, the trust region
radius is modified as follows
$\rho > \eta_1$.
Use PETSC_DETERMINE
to use the default value for the given SNES
.
Use PETSC_CURRENT
to retain a value.
Fortran Note#
Use PETSC_DETERMINE_REAL
, PETSC_CURRENT_REAL
See Also#
SNES: Nonlinear Solvers, SNES
, SNESNEWTONTR
, SNESSetObjective()
, SNESNewtonTRGetUpdateParameters()
Level#
intermediate
Location#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages