Time Stepping ODE and DAE Solvers (TS)#
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() ). Manual Pages Table of Contents
Manual Pages by Level#
Beginner - Basic usage#
Intermediate - Setting options for algorithms and data structures#
Advanced - Setting more advanced options and customization#
Developer - Interfaces intended primarily for library developers, not for typical applications programmers#
Deprecated - Functionality scheduled for removal in future versions#
Single list of manual pages#
- DMCopyDMTS
- DMDATSSetIFunctionLocal
- DMDATSSetIJacobianLocal
- DMDATSSetRHSFunctionLocal
- DMDATSSetRHSJacobianLocal
- DMGetDMTS
- DMGetDMTSWrite
- DMPlexTSComputeBoundary
- DMPlexTSComputeIFunctionFEM
- DMPlexTSComputeIJacobianFEM
- DMPlexTSComputeRHSFunctionFEM
- DMPlexTSComputeRHSFunctionFVM
- DMTSCheckFromOptions
- DMTSCheckJacobian
- DMTSCheckResidual
- DMTSCopy
- DMTSCreateRHSMassMatrix
- DMTSCreateRHSMassMatrixLumped
- DMTSDestroyRHSMassMatrix
- DMTSGetForcingFunction
- DMTSGetI2Function
- DMTSGetI2Jacobian
- DMTSGetIFunction
- DMTSGetIFunctionLocal
- DMTSGetIJacobian
- DMTSGetIJacobianLocal
- DMTSGetRHSFunction
- DMTSGetRHSFunctionLocal
- DMTSGetRHSJacobian
- DMTSGetSolutionFunction
- DMTSGetTransientVariable
- DMTSSetBoundaryLocal
- DMTSSetForcingFunction
- DMTSSetI2Function
- DMTSSetI2FunctionContextDestroy
- DMTSSetI2Jacobian
- DMTSSetI2JacobianContextDestroy
- DMTSSetIFunction
- DMTSSetIFunctionContextDestroy
- DMTSSetIFunctionLocal
- DMTSSetIFunctionSerialize
- DMTSSetIJacobian
- DMTSSetIJacobianContextDestroy
- DMTSSetIJacobianLocal
- DMTSSetIJacobianSerialize
- DMTSSetRHSFunction
- DMTSSetRHSFunctionContextDestroy
- DMTSSetRHSFunctionLocal
- DMTSSetRHSJacobian
- DMTSSetRHSJacobianContextDestroy
- DMTSSetSolutionFunction
- DMTSSetTransientVariable
- SNESTSFormFunction
- SNESTSFormJacobian
- TS
- TS2GetSolution
- TS2SetSolution
- TSADAPTBASIC
- TSADAPTCFL
- TSADAPTDSP
- TSADAPTGLEE
- TSADAPTHISTORY
- TSADAPTNONE
- TSALPHA
- TSALPHA2
- TSARKIMEX
- TSARKIMEX1BEE
- TSARKIMEX2C
- TSARKIMEX2D
- TSARKIMEX2E
- TSARKIMEX3
- TSARKIMEX4
- TSARKIMEX5
- TSARKIMEXA2
- TSARKIMEXARS122
- TSARKIMEXARS443
- TSARKIMEXBPR3
- TSARKIMEXFinalizePackage
- TSARKIMEXGetFullyImplicit
- TSARKIMEXGetType
- TSARKIMEXInitializePackage
- TSARKIMEXL2
- TSARKIMEXPRSSP2
- TSARKIMEXRegister
- TSARKIMEXRegisterAll
- TSARKIMEXRegisterDestroy
- TSARKIMEXSetFullyImplicit
- TSARKIMEXSetType
- TSARKIMEXType
- TSAdapt
- TSAdaptCandidateAdd
- TSAdaptCandidatesClear
- TSAdaptCandidatesGet
- TSAdaptCheckStage
- TSAdaptChoose
- TSAdaptCreate
- TSAdaptDSPSetFilter
- TSAdaptDSPSetPID
- TSAdaptFinalizePackage
- TSAdaptGetClip
- TSAdaptGetMaxIgnore
- TSAdaptGetSafety
- TSAdaptGetScaleSolveFailed
- TSAdaptGetStepLimits
- TSAdaptGetType
- TSAdaptHistoryGetStep
- TSAdaptHistorySetHistory
- TSAdaptHistorySetTrajectory
- TSAdaptInitializePackage
- TSAdaptLoad
- TSAdaptRegister
- TSAdaptRegisterAll
- TSAdaptReset
- TSAdaptSetAlwaysAccept
- TSAdaptSetCheckStage
- TSAdaptSetClip
- TSAdaptSetMaxIgnore
- TSAdaptSetMonitor
- TSAdaptSetSafety
- TSAdaptSetScaleSolveFailed
- TSAdaptSetStepLimits
- TSAdaptSetTimeStepIncreaseDelay
- TSAdaptSetType
- TSAdaptType
- TSAlpha2GetParams
- TSAlpha2SetParams
- TSAlpha2SetRadius
- TSAlphaGetParams
- TSAlphaSetParams
- TSAlphaSetRadius
- TSAppendOptionsPrefix
- TSBASICSYMPLECTIC
- TSBASICSYMPLECTICSIEULER
- TSBASICSYMPLECTICVELVERLET
- TSBDF
- TSBDFGetOrder
- TSBDFSetOrder
- TSBEULER
- TSBasicSymplecticFinalizePackage
- TSBasicSymplecticGetType
- TSBasicSymplecticInitializePackage
- TSBasicSymplecticRegister
- TSBasicSymplecticRegisterAll
- TSBasicSymplecticRegisterDestroy
- TSBasicSymplecticSetType
- TSBasicSymplecticType
- TSCN
- TSClone
- TSComputeExactError
- TSComputeForcingFunction
- TSComputeI2Function
- TSComputeI2Jacobian
- TSComputeIFunction
- TSComputeIFunctionLinear
- TSComputeIJacobian
- TSComputeIJacobianConstant
- TSComputeIJacobianDefaultColor
- TSComputeInitialCondition
- TSComputeLinearStability
- TSComputeRHSFunction
- TSComputeRHSFunctionLinear
- TSComputeRHSJacobian
- TSComputeRHSJacobianConstant
- TSComputeSolutionFunction
- TSComputeTransientVariable
- TSConvergedReason
- TSCreate
- TSDISCGRAD
- TSDMSwarmMonitorMoments
- TSDestroy
- TSDiscGradGetFormulation
- TSDiscGradIsGonzalez
- TSDiscGradSetFormulation
- TSDiscGradUseGonzalez
- TSEIMEX
- TSEIMEXSetMaxRows
- TSEIMEXSetOrdAdapt
- TSEIMEXSetRowCol
- TSEIMEXType
- TSEULER
- TSEquationType
- TSErrorWeightedENorm
- TSErrorWeightedENorm2
- TSErrorWeightedENormInfinity
- TSErrorWeightedNorm
- TSErrorWeightedNorm2
- TSErrorWeightedNormInfinity
- TSEvaluateStep
- TSEvaluateWLTE
- TSExactFinalTimeOption
- TSFinalizePackage
- TSFunctionDomainError
- TSGLEE
- TSGLEE23
- TSGLEE24
- TSGLEE25i
- TSGLEE35
- TSGLEEEXRK2A
- TSGLEEFinalizePackage
- TSGLEEGetType
- TSGLEEInitializePackage
- TSGLEEMode
- TSGLEERK285EX
- TSGLEERK32G1
- TSGLEERegister
- TSGLEERegisterAll
- TSGLEERegisterDestroy
- TSGLEESetType
- TSGLEEType
- TSGLLE
- TSGLLEAcceptRegister
- TSGLLEAcceptType
- TSGLLEAdapt
- TSGLLEAdaptInitializePackage
- TSGLLEAdaptRegister
- TSGLLEAdaptRegisterAll
- TSGLLEAdaptType
- TSGLLEFinalizePackage
- TSGLLEGetAdapt
- TSGLLEInitializePackage
- TSGLLERegister
- TSGLLERegisterAll
- TSGLLESetAcceptType
- TSGLLESetType
- TSGLLEType
- TSGetAdapt
- TSGetApplicationContext
- TSGetAuxSolution
- TSGetCFLTime
- TSGetComputeExactError
- TSGetComputeInitialCondition
- TSGetConvergedReason
- TSGetDM
- TSGetDuration
- TSGetEquationType
- TSGetExactFinalTime
- TSGetI2Function
- TSGetI2Jacobian
- TSGetIFunction
- TSGetIJacobian
- TSGetKSP
- TSGetKSPIterations
- TSGetMaxSteps
- TSGetMaxTime
- TSGetNumEvents
- TSGetOptionsPrefix
- TSGetPrevTime
- TSGetProblemType
- TSGetRHSFunction
- TSGetRHSJacobian
- TSGetSNES
- TSGetSNESFailures
- TSGetSNESIterations
- TSGetSolution
- TSGetSolutionComponents
- TSGetSolveTime
- TSGetStages
- TSGetStepNumber
- TSGetStepRejections
- TSGetTime
- TSGetTimeError
- TSGetTimeSpan
- TSGetTimeSpanSolutions
- TSGetTimeStep
- TSGetTimeStepNumber
- TSGetTolerances
- TSGetTotalSteps
- TSGetTrajectory
- TSGetType
- TSGetUseSplitRHSFunction
- TSHasTransientVariable
- TSIRK
- TSIRKFinalizePackage
- TSIRKGetNumStages
- TSIRKGetType
- TSIRKInitializePackage
- TSIRKRegister
- TSIRKRegisterAll
- TSIRKRegisterDestroy
- TSIRKSetNumStages
- TSIRKSetType
- TSIRKTableauCreate
- TSIRKType
- TSInitializePackage
- TSInterpolate
- TSLoad
- TSMIMEX
- TSMPRK
- TSMPRK2A22
- TSMPRK2A23
- TSMPRK2A32
- TSMPRK2A33
- TSMPRK3P2M
- TSMPRKFinalizePackage
- TSMPRKGetType
- TSMPRKInitializePackage
- TSMPRKP2
- TSMPRKP3
- TSMPRKRegister
- TSMPRKRegisterAll
- TSMPRKRegisterDestroy
- TSMPRKSetType
- TSMPRKType
- TSMonitor
- TSMonitorCancel
- TSMonitorDefault
- TSMonitorDrawCtxCreate
- TSMonitorDrawCtxDestroy
- TSMonitorDrawError
- TSMonitorDrawSolution
- TSMonitorDrawSolutionFunction
- TSMonitorDrawSolutionPhase
- TSMonitorEnvelope
- TSMonitorEnvelopeCtxCreate
- TSMonitorEnvelopeCtxDestroy
- TSMonitorEnvelopeGetBounds
- TSMonitorError
- TSMonitorExtreme
- TSMonitorHGSwarmSolution
- TSMonitorLGCtxCreate
- TSMonitorLGCtxDestroy
- TSMonitorLGCtxSetDisplayVariables
- TSMonitorLGCtxSetTransform
- TSMonitorLGCtxSetVariableNames
- TSMonitorLGError
- TSMonitorLGGetVariableNames
- TSMonitorLGSetDisplayVariables
- TSMonitorLGSetTransform
- TSMonitorLGSetVariableNames
- TSMonitorLGSolution
- TSMonitorSPEigCtxCreate
- TSMonitorSPEigCtxDestroy
- TSMonitorSPSwarmSolution
- TSMonitorSet
- TSMonitorSetFromOptions
- TSMonitorSolution
- TSMonitorSolutionVTK
- TSMonitorSolutionVTKDestroy
- TSPSEUDO
- TSPostEvaluate
- TSPostStage
- TSPostStep
- TSPreStage
- TSPreStep
- TSProblemType
- TSPruneIJacobianColor
- TSPseudoComputeTimeStep
- TSPseudoIncrementDtFromInitialDt
- TSPseudoSetMaxTimeStep
- TSPseudoSetTimeStep
- TSPseudoSetTimeStepIncrement
- TSPseudoSetVerifyTimeStep
- TSPseudoTimeStepDefault
- TSPseudoVerifyTimeStep
- TSPseudoVerifyTimeStepDefault
- TSPythonGetType
- TSPythonSetType
- TSRADAU5
- TSRHSJacobianSetReuse
- TSRHSJacobianTest
- TSRHSJacobianTestTranspose
- TSRHSSplitGetIS
- TSRHSSplitGetSubTS
- TSRHSSplitGetSubTSs
- TSRHSSplitSetIS
- TSRHSSplitSetRHSFunction
- TSRK
- TSRK1FE
- TSRK2A
- TSRK2B
- TSRK3
- TSRK3BS
- TSRK4
- TSRK5BS
- TSRK5DP
- TSRK5F
- TSRK6VR
- TSRK7VR
- TSRK8VR
- TSRKFinalizePackage
- TSRKGetMultirate
- TSRKGetOrder
- TSRKGetTableau
- TSRKGetType
- TSRKInitializePackage
- TSRKRegister
- TSRKRegisterAll
- TSRKRegisterDestroy
- TSRKSetMultirate
- TSRKSetType
- TSRKType
- TSROSW
- TSROSW2M
- TSROSW2P
- TSROSW4L
- TSROSWASSP3P3S1C
- TSROSWGRK4T
- TSROSWLASSP3P4S2C
- TSROSWLLSSP3P4S2C
- TSROSWRA34PW2
- TSROSWRA3PW
- TSROSWRODAS3
- TSROSWSANDU3
- TSROSWSHAMP4
- TSROSWTHETA1
- TSROSWTHETA2
- TSROSWVELDD4
- TSRegister
- TSRegisterAll
- TSRemoveTrajectory
- TSReset
- TSResetTrajectory
- TSRestartStep
- TSRollBack
- TSRosWFinalizePackage
- TSRosWGetType
- TSRosWInitializePackage
- TSRosWRegister
- TSRosWRegisterAll
- TSRosWRegisterDestroy
- TSRosWRegisterRos4
- TSRosWSetRecomputeJacobian
- TSRosWSetType
- TSRosWType
- TSSSP
- TSSSPFinalizePackage
- TSSSPGetNumStages
- TSSSPGetType
- TSSSPInitializePackage
- TSSSPRKS104
- TSSSPRKS2
- TSSSPRKS3
- TSSSPSetNumStages
- TSSSPSetType
- TSSSPType
- TSSUNDIALS
- TSSetApplicationContext
- TSSetCFLTimeLocal
- TSSetComputeExactError
- TSSetComputeInitialCondition
- TSSetConvergedReason
- TSSetDM
- TSSetDuration
- TSSetEquationType
- TSSetErrorIfStepFails
- TSSetEventHandler
- TSSetEventTolerances
- TSSetExactFinalTime
- TSSetForcingFunction
- TSSetFromOptions
- TSSetFunctionDomainError
- TSSetI2Function
- TSSetI2Jacobian
- TSSetIFunction
- TSSetIJacobian
- TSSetInitialTimeStep
- TSSetMatStructure
- TSSetMaxSNESFailures
- TSSetMaxStepRejections
- TSSetMaxSteps
- TSSetMaxTime
- TSSetOptionsPrefix
- TSSetPostEvaluate
- TSSetPostEventIntervalStep
- TSSetPostStage
- TSSetPostStep
- TSSetPreStage
- TSSetPreStep
- TSSetProblemType
- TSSetRHSFunction
- TSSetRHSJacobian
- TSSetSNES
- TSSetSaveTrajectory
- TSSetSolution
- TSSetSolutionFunction
- TSSetStepNumber
- TSSetTime
- TSSetTimeError
- TSSetTimeSpan
- TSSetTimeStep
- TSSetTolerances
- TSSetTransientVariable
- TSSetType
- TSSetUp
- TSSetUseSplitRHSFunction
- TSSolve
- TSStep
- TSSundialsGetIterations
- TSSundialsGetPC
- TSSundialsMonitorInternalSteps
- TSSundialsSetGramSchmidtType
- TSSundialsSetLinearTolerance
- TSSundialsSetMaxTimeStep
- TSSundialsSetMaxl
- TSSundialsSetMaxord
- TSSundialsSetMinTimeStep
- TSSundialsSetTolerance
- TSSundialsSetType
- TSSundialsSetUseDense
- TSTHETA
- TSTRAJECTORYBASIC
- TSTRAJECTORYMEMORY
- TSTRAJECTORYSINGLEFILE
- TSTRAJECTORYVISUALIZATION
- TSThetaGetEndpoint
- TSThetaGetTheta
- TSThetaSetEndpoint
- TSThetaSetTheta
- TSTrajectory
- TSTrajectoryCreate
- TSTrajectoryDestroy
- TSTrajectoryGet
- TSTrajectoryGetNumSteps
- TSTrajectoryGetSolutionOnly
- TSTrajectoryGetType
- TSTrajectoryGetUpdatedHistoryVecs
- TSTrajectoryGetVecs
- TSTrajectoryMemorySetType
- TSTrajectoryRegister
- TSTrajectoryRegisterAll
- TSTrajectoryReset
- TSTrajectoryRestoreUpdatedHistoryVecs
- TSTrajectorySet
- TSTrajectorySetDirname
- TSTrajectorySetFiletemplate
- TSTrajectorySetFromOptions
- TSTrajectorySetKeepFiles
- TSTrajectorySetMaxCpsDisk
- TSTrajectorySetMaxCpsRAM
- TSTrajectorySetMaxUnitsDisk
- TSTrajectorySetMaxUnitsRAM
- TSTrajectorySetMonitor
- TSTrajectorySetSolutionOnly
- TSTrajectorySetTransform
- TSTrajectorySetType
- TSTrajectorySetUp
- TSTrajectorySetUseHistory
- TSTrajectorySetVariableNames
- TSTrajectoryType
- TSTrajectoryView
- TSTrajectoryViewFromOptions
- TSType
- TSVISetVariableBounds
- TSView
- TSViewFromOptions
- TS_CONVERGED_EVENT
- TS_CONVERGED_ITERATING
- TS_CONVERGED_ITS
- TS_CONVERGED_PSEUDO_FATOL
- TS_CONVERGED_PSEUDO_FRTOL
- TS_CONVERGED_TIME
- TS_CONVERGED_USER
- TS_DIVERGED_NONLINEAR_SOLVE
- TS_DIVERGED_STEP_REJECTED