TSSetInitialTimeStep

Sets the initial timestep to be used, as well as the initial time.

Synopsis

#include "petscts.h"  
int TSSetInitialTimeStep(TS ts,double initial_time,double time_step)
Collective on TS

Input Parameters

ts - the TS context obtained from TSCreate()
initial_time - the initial time
time_step - the size of the timestep

See Also

TSSetTimeStep(), TSGetTimeStep()

Keywords

TS, set, initial, timestep

Level:intermediate
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
src/ts/examples/tutorials/ex2.c
src/ts/examples/tutorials/ex3.c
src/ts/examples/tutorials/ex4.c
src/ts/examples/tutorials/ex5.c
src/ts/examples/tutorials/ex1f.F
src/ts/examples/tutorials/ex2f.F