#include "petscts.h" PetscErrorCode TSSetMaxStepRejections(TS ts,PetscInt rejects)Not Collective
ts | - TS context | |
rejects | - maximum number of rejected steps, pass -1 for unlimited |
-ts_max_reject | - Maximum number of step rejections before a step fails |