SNESSetTypeFromOptions

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

Synopsis

#include "snes.h"  
int SNESSetTypeFromOptions(SNES snes)
Collective on SNES

Input Parameter

snes -the SNES context

Options Database Keys

-snes_type <type> -ls, tr, umls, umtr, test

Keywords

SNES, nonlinear, set, options, database

See Also

SNESPrintHelp(), SNESSetOptionsPrefix(), SNESSetFromOptions()

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