#include "petscsnes.h" PetscErrorCode SNESNGMRESSetSelectType(SNES snes,SNESNGMRESSelectType stype)Logically Collective on SNES
| snes | - the iterative context | |
| stype | - selection type |
| SNES_NGMRES_SELECT_NONE | - choose the combined solution all the time | |
| SNES_NGMRES_SELECT_DIFFERENCE | - choose based upon the selection criteria | |
| SNES_NGMRES_SELECT_LINESEARCH | - choose based upon line search combination |