SLESSetFromOptions

Sets various SLES parameters from user options. Also takes all KSP and PC options.

Synopsis

#include "petscsles.h"    
int SLESSetFromOptions(SLES sles)
Collective on SLES

Input Parameter

sles -the SLES context

Options Database Keys

-sles_view - print actual solver options used
-sles_view_binary - save matrix and vector used for solver

Keywords

SLES, set, options, database

See Also

KSPSetFromOptions(),
PCSetFromOptions(), SLESGetPC(), SLESGetKSP()

Level:beginner
Location:
src/sles/interface/sles.c
Index of all SLES routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/sles/examples/tutorials/ex1.c.html
src/sles/examples/tutorials/ex2.c.html
src/sles/examples/tutorials/ex3.c.html
src/sles/examples/tutorials/ex4.c.html
src/sles/examples/tutorials/ex5.c.html
src/sles/examples/tutorials/ex7.c.html
src/sles/examples/tutorials/ex8.c.html
src/sles/examples/tutorials/ex9.c.html
src/sles/examples/tutorials/ex10.c.html
src/sles/examples/tutorials/ex11.c.html
src/sles/examples/tutorials/ex12.c.html