TSGetSLES

Returns the SLES (linear solver) associated with a TS (timestepper) context.

Synopsis

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

Does not work for integrators that do not use SLES(), returns PETSC_NULL in SLES

Keywords

timestep, get, SLES

Location: src/ts/interface/ts.c
Time Stepping
Table of Contents