TSSetSolution

Sets the initial solution vector for use by the TS routines.

Synopsis

int TSSetSolution(TS ts,Vec x)
Collective on TS and Vec

Input Parameters

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

Keywords

TS, timestep, set, solution, initial conditions

Examples

src/ts/examples/tutorials/ex2f.F

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