TSGetTimeStep

Gets the current timestep size.

Synopsis

#include "petscts.h"  
PetscErrorCode  TSGetTimeStep(TS ts,PetscReal *dt)
Not Collective

Input Parameter

ts - the TS context obtained from TSCreate()

Output Parameter

dt - the current timestep size

Level: intermediate

See Also

TSSetTimeStep(), TSGetTime()

Location:ts.c