#include "petscksp.h" PetscErrorCode KSPSetFromOptions(KSP ksp)Collective on KSP
-ksp_max_it | - maximum number of linear iterations | |
-ksp_rtol rtol | - relative tolerance used in default determination of convergence, i.e. if residual norm decreases by this factor than convergence is declared | |
-ksp_atol abstol | - absolute tolerance used in default convergence test, i.e. if residual norm is less than this then convergence is declared | |
-ksp_divtol tol | - if residual norm increases by this factor than divergence is declared | |
-ksp_norm_type | - none - skip norms used in convergence tests (useful only when not using | |
-ksp_constant_null_space | - assume the operator (matrix) has the constant vector in its null space | |
-ksp_test_null_space | - tests the null space set with KSPSetNullSpace() to see if it truly is a null space | |
-ksp_knoll | - compute initial guess by applying the preconditioner to the right hand side | |
-ksp_cancelmonitors | - cancel all previous convergene monitor routines set | |
-ksp_monitor | - print residual norm at each iteration | |
-ksp_xmonitor | - plot residual norm at each iteration | |
-ksp_vecmonitor | - plot solution at each iteration | |
-ksp_singmonitor | - monitor extremem singular values at each iteration |
Level:beginner
Location:src/ksp/ksp/interface/itcreate.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages