#include "petscts.h" PetscErrorCode TSStep(TS ts)Collective on TS
The hook set using TSSetPreStep() is called before each attempt to take the step. In general, the time step size may be changed due to adaptive error controller or solve failures. Note that steps may contain multiple stages.
This may over-step the final time provided in TSSetDuration() depending on the time-step used. TSSolve() interpolates to exactly the time provided in TSSetDuration(). One can use TSInterpolate() to determine an interpolated solution within the final timestep.
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages