SNESSetTypeFromOptions

Sets the SNES solver type from the options database, or sets a default if none is give.

Synopsis

int SNESSetTypeFromOptions(SNES snes)
Collective on SNES

Input Parameter

snes -the SNES context

Options Database Keys

-snes_type <type> -SNES_EQ_LS, SNES_EQ_TR, SNES_UM_TR, SNES_UM_LS etc

Keywords

SNES, nonlinear, set, options, database

See Also

SNESPrintHelp(), SNESSetOptionsPrefix(), SNESSetFromOptions()

Level:beginner
Location:src/snes/interface/snes.c
SNES Index
Table of Contents