TSSetTimeStep

Allows one to reset the timestep at any time, useful for simple pseudo-timestepping codes.

Synopsis

#include "petscts.h"  
PetscErrorCode  TSSetTimeStep(TS ts,PetscReal time_step)
Logically Collective on TS

Input Parameters

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

Level: intermediate

See Also

TSGetTimeStep(), TSSetTime()

Location:ts.c