Time steppers for ODE and DAE - TS: Examples

The time-stepping (TS) component provides ODE and DAE integrators as well as pseudo-timestepping. TS internally employs SNES to solve the nonlinear problems at each time step (except for the Sundials functions, which use nonlinear solvers within Sundials). TS users can also set SNES options directly in application codes by first extracting the SNES context from the TS context via TSGetSNES() and then directly calling various SNES (and KSP and PC with further unwrapping) routines (e.g., PCSetType() ).

Beginner - Basic usage
TS TSGetTime TSSetIFunction
TSALPHA TSPSEUDO TSSetIJacobian
TSARKIMEX TSProblemType TSSetProblemType
TSARKIMEXType TSRK TSSetRHSFunction
TSAdapt TSROSW TSSetRHSJacobian
TSAdaptType TSReset TSSetSolution
TSBEULER TSRosWSetType TSSetTolerances
TSCN TSRosWType TSSolve
TSConvergedReason TSSSP TSSundialsMonitorInternalSteps
TSCreate TSSSPGetNumStages TSSundialsSetMaxTimeStep
TSDestroy TSSSPGetType TSSundialsSetMinTimeStep
TSEULER TSSSPRKS104 TSTHETA
TSGL TSSSPRKS2 TSType
TSGLAcceptType TSSSPRKS3 TSView
TSGLAdapt TSSSPSetNumStages TS_CONVERGED_ITERATING
TSGLAdaptType TSSSPSetType TS_CONVERGED_ITS
TSGLType TSSSPType TS_CONVERGED_TIME
TSGetKSP TSSUNDIALS TS_DIVERGED_NONLINEAR_SOLVE
TSGetProblemType TSSetExactFinalTime TS_DIVERGED_STEP_REJECTED
TSGetSNES TSSetFromOptions
Intermediate - Setting options for algorithms and data structures
TSADAPTBASIC TSGetSolution TSROSWRA3PW
TSADAPTCFL TSGetTimeStep TSROSWRODAS3
TSADAPTNONE TSGetTimeStepNumber TSROSWSANDU3
TSARKIMEXGetType TSGetType TSROSWTHETA1
TSARKIMEXSetFullyImplicit TSInterpolate TSROSWTHETA2
TSARKIMEXSetType TSMonitorCancel TSRosWGetType
TSAdaptSetMonitor TSMonitorDefault TSRosWSetRecomputeJacobian
TSAdaptSetStepLimits TSMonitorLGCreate TSSetApplicationContext
TSAlphaSetAdapt TSMonitorLGDestroy TSSetCFLTimeLocal
TSAlphaSetRadius TSMonitorSet TSSetDM
TSComputeIFunctionLinear TSMonitorSolution TSSetDuration
TSComputeIJacobianConstant TSMonitorSolutionBinary TSSetInitialTimeStep
TSComputeRHSFunctionLinear TSMonitorSolutionCreate TSSetPostStep
TSComputeRHSJacobianConstant TSMonitorSolutionDestroy TSSetPreStep
TSGLSetAcceptType TSMonitorSolutionVTK TSSetRetainStages
TSGLSetType TSMonitorSolutionVTKDestroy TSSetTime
TSGetAdapt TSPseudoSetTimeStep TSSetTimeStep
TSGetApplicationContext TSPythonSetType TSSetType
TSGetConvergedReason TSRKSetTolerance TSStep
TSGetDM TSROSW2M TSSundialsSetTolerance
TSGetDuration TSROSW2P TSSundialsSetType
TSGetLinearSolveIterations TSROSWASSP3P3S1C TSThetaSetEndpoint
TSGetNonlinearSolveIterations TSROSWLASSP3P4S2C TSThetaSetTheta
TSGetOptionsPrefix TSROSWLLSSP3P4S2C
TSGetRHSJacobian TSROSWRA34PW2
Advanced - Setting more advanced options and customization
SNESTSFormFunction TSGLAcceptRegister TSPseudoSetTimeStepIncrement
TSARKIMEX2D TSGLAcceptRegisterDynamic TSPseudoSetVerifyTimeStep
TSARKIMEX2E TSGLAdaptRegister TSPseudoVerifyTimeStep
TSARKIMEX3 TSGLAdaptRegisterAll TSRegister
TSARKIMEX4 TSGLAdaptRegisterDestroy TSRegisterAll
TSARKIMEX5 TSGLAdaptRegisterDynamic TSRegisterDestroy
TSARKIMEXARS443 TSGLGetAdapt TSRegisterDynamic
TSARKIMEXBPR3 TSGLRegister TSRosWRegister
TSARKIMEXPRSSP2 TSGLRegisterAll TSRosWRegisterAll
TSARKIMEXRegister TSGLRegisterDestroy TSRosWRegisterDestroy
TSARKIMEXRegisterAll TSGLRegisterDynamic TSSetOptionsPrefix
TSARKIMEXRegisterDestroy TSGetCFLTime TSSetUp
TSAdaptRegister TSGetIFunction TSSundialsGetIterations
TSAdaptRegisterAll TSGetIJacobian TSSundialsGetPC
TSAdaptRegisterDestroy TSGetRHSFunction TSSundialsSetGramSchmidtType
TSAdaptRegisterDynamic TSMonitor TSSundialsSetLinearTolerance
TSAdaptSetFromOptions TSPseudoComputeTimeStep TSSundialsSetMaxl
TSAlphaGetParams TSPseudoDefaultTimeStep TSThetaGetEndpoint
TSAlphaSetParams TSPseudoDefaultVerifyTimeStep TSThetaGetTheta
TSAppendOptionsPrefix TSPseudoIncrementDtFromInitialDt TSVISetVariableBounds
TSEvaluateStep TSPseudoSetMaxTimeStep
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
SNESTSFormJacobian TSAdaptCreate TSGLAdaptInitializePackage
TSARKIMEXFinalizePackage TSAdaptInitializePackage TSGLFinalizePackage
TSARKIMEXInitializePackage TSComputeIFunction TSGLInitializePackage
TSAdaptCandidateAdd TSComputeIJacobian TSInitializePackage
TSAdaptCandidatesClear TSComputeRHSFunction TSPostStep
TSAdaptCandidatesGet TSComputeRHSJacobian TSPreStep
TSAdaptCheckStage TSErrorNormWRMS TSRosWFinalizePackage
TSAdaptChoose TSFinalizePackage TSRosWInitializePackage
No deprecated routines

Table of Contents