Evaluate the solution at the end of a time step with a given order of accuracy.
PetscErrorCode TSEvaluateStep(TS ts,PetscInt order,Vec X,PetscBool *done)
Collective on TS
|ts ||- time stepping context
|order ||- desired order of accuracy
|done ||- whether the step was evaluated at this order (pass PETSC_NULL to generate an error if not available)
X -state at the end of the current step
This function cannot be called until all stages have been evaluated.
It is normally called by adaptive controllers before a step has been accepted and may also be called by the user after TSStep() has returned.
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages