TSGetSLES
Returns the SLES (linear solver) associated with a TS (timestepper) context.
Synopsis
#include "petscts.h"
int TSGetSLES(TS ts,SLES *sles)
Not Collective, but SLES is parallel if TS is parallel
Input Parameter
ts -the TS context obtained from TSCreate()
Output Parameter
sles -the nonlinear solver context
Notes
The user can then directly manipulate the SLES context to set various
options, etc. Likewise, the user can then extract and manipulate the
KSP and PC contexts as well.
TSGetSLES() does not work for integrators that do not use SLES;
in this case TSGetSLES() returns PETSC_NULL in sles.
Keywords
timestep, get, SLES
Level:beginner
Location:src/ts/interface/ts.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages