SLESCreate

Creates a linear equation solver context.

Synopsis

#include "petscsles.h"    
int SLESCreate(MPI_Comm comm,SLES *outsles)
Collective on MPI_Comm

Input Parameter

comm -MPI communicator

Output Parameter

sles -the newly created SLES context

Keywords

SLES, create, context

See Also

SLESSolve(), SLESDestroy(), SLES

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