Ctrl_stoploop

Determines whether the outer loop should be stopped or not. Checks for maximum and minimum number of iterations as well as convergence.

Synopsis

PetscErrorCode Ctrl_stoploop(PetscInt outer_its, StopCode *code)

Output parameters

code -The stopping code (see StopCode).

Option database keys

-min_outer_its - Minimum number of outer iterations
-max_outer_its - Maximum number of iterations
-res_max - Maximum normalized residue
-cor_max - Maximum normalized correction vector

Keywords

loop, outer

See Also

MICScSolve, StopCode

Level:developer
Location:
src/micsc.c
Index of all MICSc routines
Table of Contents for all manual pages
Index of all manual pages