#include "petscsnes.h" PetscErrorCode SNESSetFromOptions(SNES snes)Collective on SNES Many br
-snes_type <type> | - newtonls, newtontr, ngmres, ncg, nrichardson, qn, vi, fas, SNESType for complete list Many br | |
-snes_stol | - convergence tolerance in terms of the norm Many brof the change in the solution between steps Many br | |
-snes_atol <abstol> | - absolute tolerance of residual norm Many br | |
-snes_rtol <rtol> | - relative decrease in tolerance norm from initial Many br | |
-snes_max_it <max_it> | - maximum number of iterations Many br | |
-snes_max_funcs <max_funcs> | - maximum number of function evaluations Many br | |
-snes_max_fail <max_fail> | - maximum number of line search failures allowed before stopping, default is none Many br | |
-snes_max_linear_solve_fail | - number of linear solver failures before SNESSolve() stops Many br | |
-snes_lag_preconditioner <lag> | - how often preconditioner is rebuilt (use -1 to never rebuild) Many br | |
-snes_lag_jacobian <lag> | - how often Jacobian is rebuilt (use -1 to never rebuild) Many br | |
-snes_trtol <trtol> | - trust region tolerance Many br | |
-snes_no_convergence_test | - skip convergence test in nonlinear Many brsolver; hence iterations will continue until max_it Many bror some other criterion is reached. Saves expense Many brof convergence test Many br | |
-snes_monitor [ascii][:filename][:viewer format] | - prints residual norm at each iteration. if no filename given prints to stdout Many br | |
-snes_monitor_solution [ascii binary draw][:filename][:viewer format] | - plots solution at each iteration Many br | |
-snes_monitor_residual [ascii binary draw][:filename][:viewer format] | - plots residual (not its norm) at each iteration Many br | |
-snes_monitor_solution_update [ascii binary draw][:filename][:viewer format] | - plots update to solution at each iteration Many br | |
-snes_monitor_lg_residualnorm | - plots residual norm at each iteration Many br | |
-snes_monitor_lg_range | - plots residual norm at each iteration Many br | |
-snes_fd | - use finite differences to compute Jacobian; very slow, only for testing Many br | |
-snes_fd_color | - use finite differences with coloring to compute Jacobian Many br | |
-snes_mf_ksp_monitor | - if using matrix-free multiply then print h at each KSP iteration Many br | |
-snes_converged_reason | - print the reason for convergence/divergence after each solve Many br |
-snes_ksp_ew | - use Eisenstat-Walker method for determining linear system convergence Many br | |
-snes_ksp_ew_version ver | - version of Eisenstat-Walker method Many br | |
-snes_ksp_ew_rtol0 <rtol0> | - Sets rtol0 Many br | |
-snes_ksp_ew_rtolmax <rtolmax> | - Sets rtolmax Many br | |
-snes_ksp_ew_gamma <gamma> | - Sets gamma Many br | |
-snes_ksp_ew_alpha <alpha> | - Sets alpha Many br | |
-snes_ksp_ew_alpha2 <alpha2> | - Sets alpha2 Many br | |
-snes_ksp_ew_threshold <threshold> | - Sets threshold Many br |
Many br
Level:beginner
Location:src/snes/interface/snes.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages