SLESSetUp
Performs set up required for solving a linear system.
Synopsis
int SLESSetUp(SLES sles,Vec b,Vec x)
Input Parameters
sles -the SLES context
b -the right hand side
x -location to hold solution
Collective on
SLES
Note
For basic use of the SLES solvers the user need not explicitly
callSLESSetUp(), since these actions will automatically occur
duringthe call to SLESSolve(). However, if one wishes to
generateperformance data for this computational phase (for example,
forincomplete factorization using the ILU preconditioner) using
thePETSc log facilities, calling SLESSetUp() is required.
Keywords
SLES, solve, linear system
See Also
SLESCreate(), SLESDestroy(), SLESDestroy()
Examples
src/sles/examples/tutorials/ex5.c
src/sles/examples/tutorials/ex10.c
src/sles/examples/tutorials/ex9.c
Location: src/sles/interface/sles.c
SLES Index
Table of Contents