petsc-3.8.4 2018-03-24
Report Typos and Errors

TSSetUp

Sets up the internal data structures for the later use of a timestepper.

Synopsis

#include "petscts.h"  
PetscErrorCode  TSSetUp(TS ts)
Collective on TS

Input Parameter

ts -the TS context obtained from TSCreate()

Notes

For basic use of the TS solvers the user need not explicitly call TSSetUp(), since these actions will automatically occur during the call to TSStep() or TSSolve(). However, if one wishes to control this phase separately, TSSetUp() should be called after TSCreate() and optional routines of the form TSSetXXX(), but before TSStep() and TSSolve().

Keywords

TS, timestep, setup

See Also

TSCreate(), TSStep(), TSDestroy(), TSSolve()

Level:advanced
Location:
src/ts/interface/ts.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ts/examples/tutorials/ex1.c.html
src/ts/examples/tutorials/ex17.c.html
src/ts/examples/tutorials/ex28.c.html
src/ts/examples/tutorials/ex42.c.html
src/ts/examples/tutorials/ex1f.F.html