TSGetSNES
Returns the SNES (nonlinear solver) associated with a TS (timestepper) context. Valid only for nonlinear problems.
Synopsis
int TSGetSNES(TS ts,SNES *snes)
Not Collective, but SNES is parallel if TS is
parallel
Input Parameter
ts -the TS context obtained from TSCreate()
Output Parameter
snes -the nonlinear solver context
Notes
Does not work for integrators that do not use SNES(), returns PETSC_NULL in
SNES
Keywords
timestep, get, SNES
Location: src/ts/interface/ts.c
Time Stepping
Table of Contents