petsc-3.12.5 2020-03-29
Report Typos and Errors

TSExactFinalTimeOption

option for handling of final time step

Synopsis

typedef enum {TS_EXACTFINALTIME_UNSPECIFIED=0,TS_EXACTFINALTIME_STEPOVER=1,TS_EXACTFINALTIME_INTERPOLATE=2,TS_EXACTFINALTIME_MATCHSTEP=3} TSExactFinalTimeOption;

Developer Notes

this must match petsc/finclude/petscts.h

 TS_EXACTFINALTIME_STEPOVER    - Don't do anything if final time is exceeded
 TS_EXACTFINALTIME_INTERPOLATE - Interpolate back to final time
 TS_EXACTFINALTIME_MATCHSTEP - Adapt final time step to match the final time

See Also

TSGetConvergedReason(), TSSetExactFinalTime(), TSGetExactFinalTime()

Level

beginner

Location

src/ts/../../include/petscts.h

Examples

src/ts/examples/tutorials/ex1.c.html
src/ts/examples/tutorials/ex2.c.html
src/ts/examples/tutorials/ex3.c.html
src/ts/examples/tutorials/ex4.c.html
src/ts/examples/tutorials/ex5.c.html
src/ts/examples/tutorials/ex6.c.html
src/ts/examples/tutorials/ex7.c.html
src/ts/examples/tutorials/ex8.c.html
src/ts/examples/tutorials/ex9.c.html
src/ts/examples/tutorials/ex10.c.html
src/ts/examples/tutorials/ex11.c.html

Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages