#include "petscts.h" PetscErrorCode TSAdaptHistoryGetStep(TSAdapt adapt, PetscInt step, PetscReal *t, PetscReal *dt)Logically Collective on TSAdapt
adapt | - the TSAdapt context | |
step | - the step number |
t | - the time corresponding to the requested step (can be NULL) | |
dt | - the time step to be taken at the requested step (can be NULL) |
Notes: The time history is internally copied, and the user can free the hist array. The user still needs to specify the termination of the solve via TSSetMaxSteps().