#include "petscsnes.h" PetscErrorCode SNESSetType(SNES snes,SNESType type)Collective on SNES
snes | - the SNES context | |
type | - a known method |
SNESNEWTONLS | - Newton's method with line search (systems of nonlinear equations) | |
SNESNEWTONTR | - Newton's method with trust region (systems of nonlinear equations) |