TSExactFinalTimeOption#
option for handling of final time step
Synopsis#
#include <petscts.h>
typedef enum {
TS_EXACTFINALTIME_UNSPECIFIED = 0,
TS_EXACTFINALTIME_STEPOVER = 1,
TS_EXACTFINALTIME_INTERPOLATE = 2,
TS_EXACTFINALTIME_MATCHSTEP = 3
} TSExactFinalTimeOption;
Values#
TS_EXACTFINALTIME_STEPOVER
- Don’t do anything if requested final time is exceededTS_EXACTFINALTIME_INTERPOLATE
- Interpolate back to final timeTS_EXACTFINALTIME_MATCHSTEP
- Adapt final time step to match the final time requested
See Also#
TS: Scalable ODE and DAE Solvers, TS
, TSGetConvergedReason()
, TSSetExactFinalTime()
, TSGetExactFinalTime()
Level#
beginner
Location#
Examples#
src/ts/tutorials/ex20adj.c
src/tao/unconstrained/tutorials/spectraladjointassimilation.c
src/ts/tutorials/ex20opt_ic.c
src/tao/unconstrained/tutorials/burgers_spectral.c
src/ts/tutorials/ex45.c
src/ts/tutorials/ex40.c
src/ts/tutorials/ex53.c
src/ts/utils/dmplexlandau/tutorials/ex1.c
src/ts/tutorials/ex50.c
src/ts/tutorials/ex20opt_p.c
Examples#
src/ts/tutorials/ex22.c
src/ts/tutorials/ex74.c
src/ts/tutorials/ex34.c
src/ts/tutorials/ex11_sa.c
src/ts/tutorials/ex40.c
src/ts/tutorials/ex17.c
src/ts/tutorials/ex52.c
src/ts/tutorials/ex5.c
src/ts/utils/dmplexlandau/tutorials/ex1.c
src/ts/tutorials/extchem.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages