petsc-3.3-p7 2013-05-11

TSSolve

Steps the requested number of timesteps.

Synopsis

#include "petscts.h"  
PetscErrorCode TSSolve(TS ts,Vec x,PetscReal *ftime)
Collective on TS

Input Parameter

ts - the TS context obtained from TSCreate()
x - the solution vector

Output Parameter

ftime -time of the state vector x upon completion

Notes

The final time returned by this function may be different from the time of the internally held state accessible by TSGetSolution() and TSGetTime() because the method may have stepped over the final time.

Keywords

TS, timestep, solve

See Also

TSCreate(), TSSetSolution(), TSStep()

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

Examples

src/ts/examples/tutorials/ex1.c.html
src/ts/examples/tutorials/ex2.c.html
src/ts/examples/tutorials/ex3.c.html
src/ts/examples/tutorials/ex4.c.html
src/ts/examples/tutorials/ex5.c.html
src/ts/examples/tutorials/ex6.c.html
src/ts/examples/tutorials/ex7.c.html
src/ts/examples/tutorials/ex8.c.html
src/ts/examples/tutorials/ex9.c.html
src/ts/examples/tutorials/ex10.c.html
src/ts/examples/tutorials/ex12.c.html