petsc-dev 2014-02-02
Report Typos and Errors

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
DMDATSSetIFunctionLocal TSGetConvergedReason TSSetIJacobian
DMDATSSetIJacobianLocal TSGetEquationType TSSetProblemType
DMDATSSetRHSFunctionLocal TSGetKSP TSSetRHSFunction
DMDATSSetRHSJacobianLocal TSGetProblemType TSSetRHSJacobian
EIMEX TSGetSNES TSSetSolutionFunction
TSAdapt TSGetSolveTime TSSetSolution
TSAdaptType TSGetTime TSSetTolerances
TSALPHA TSGetTolerances TSSolve
TSARKIMEX TSGLAcceptType TSSSPGetNumStages
TSARKIMEXType TSGLAdapt TSSSPGetType
TSBEULER TSGLAdaptType TSSSP
TSCN TSGL TSSSPRKS104
TS_CONVERGED_ITERATING TSGLType TSSSPRKS2
TS_CONVERGED_ITS TS TSSSPRKS3
TSConvergedReason TSProblemType TSSSPSetNumStages
TS_CONVERGED_TIME TSPSEUDO TSSSPSetType
TS_CONVERGED_USER TSReset TSSSPType
TSCreate TSRK TSSUNDIALS
TSDestroy TSRKType TSSundialsMonitorInternalSteps
TS_DIVERGED_NONLINEAR_SOLVE TSROSW TSSundialsSetMaxTimeStep
TS_DIVERGED_STEP_REJECTED TSRosWSetType TSSundialsSetMinTimeStep
TSEIMEX TSRosWType TSTHETA
TSEIMEXType TSSetExactFinalTime TSType
TSEquationType TSSetForcingFunction TSView
TSEULER TSSetFromOptions
TSExactFinalTimeOption TSSetIFunction
Intermediate - Setting options for algorithms and data structures
TSADAPTBASIC TSGLSetType TSROSWLLSSP3P4S2C
TSADAPTCFL TSInterpolate TSROSWRA34PW2
TSAdaptLoad TSLoad TSROSWRA3PW
TSADAPTNONE TSMonitorCancel TSROSWRODAS3
TSAdaptSetMonitor TSMonitorDefault TSROSWSANDU3
TSAdaptSetStepLimits TSMonitorDrawCtxCreate TSRosWSetRecomputeJacobian
TSAlphaSetAdapt TSMonitorDrawCtxDestroy TSROSWSHAMP4
TSAlphaSetRadius TSMonitorDrawError TSROSWTHETA1
TSARKIMEXGetType TSMonitorDrawSolution TSROSWTHETA2
TSARKIMEXSetFullyImplicit TSMonitorDrawSolutionPhase TSROSWVELDD4
TSARKIMEXSetType TSMonitorLGCtxCreate TSSetApplicationContext
TSComputeIFunctionLinear TSMonitorLGCtxDestroy TSSetCFLTimeLocal
TSComputeRHSFunctionLinear TSMonitorLGError TSSetDM
TSComputeRHSJacobianConstant TSMonitorLGSolution TSSetDuration
TSEIMEXSetMaxRows TSMonitorSet TSSetErrorIfStepFails
TSEIMEXSetOrdAdapt TSMonitorSolutionBinary TSSetInitialTimeStep
TSEIMEXSetRowCol TSMonitorSolutionVTKDestroy TSSetMaxSNESFailures
TSGetAdapt TSMonitorSolutionVTK TSSetMaxStepRejections
TSGetApplicationContext TSMonitorSPEigCtxCreate TSSetPostStage
TSGetDM TSMonitorSPEigCtxDestroy TSSetPostStep
TSGetDuration TSPseudoSetTimeStep TSSetPreStage
TSGetKSPIterations TSPythonSetType TSSetPreStep
TSGetOptionsPrefix TSRHSJacobianSetReuse TSSetRetainStages
TSGetRHSJacobian TSRKGetType TSSetTime
TSGetSNESFailures TSRKSetType TSSetTimeStep
TSGetSNESIterations TSROSW2M TSSetType
TSGetSolution TSROSW2P TSStep
TSGetStepRejections TSROSW4L TSSundialsSetTolerance
TSGetTimeStep TSROSWASSP3P3S1C TSSundialsSetType
TSGetTimeStepNumber TSRosWGetType TSThetaSetEndpoint
TSGetType TSROSWGRK4T TSThetaSetTheta
TSGLSetAcceptType TSROSWLASSP3P4S2C
Advanced - Setting more advanced options and customization
DMTSGetForcingFunction TSARKIMEXA2 TSRegisterAll
DMTSGetIFunction TSARKIMEXARS122 TSRegister
DMTSGetIJacobian TSARKIMEXARS443 TSRK1
DMTSGetRHSFunction TSARKIMEXBPR3 TSRK2A
DMTSGetRHSJacobian TSARKIMEXL2 TSRK3BS
DMTSGetSolutionFunction TSARKIMEXPRSSP2 TSRK3
DMTSSetForcingFunction TSARKIMEXRegisterAll TSRK4
DMTSSetIFunction TSARKIMEXRegisterDestroy TSRK5DP
DMTSSetIFunctionSerialize TSARKIMEXRegister TSRK5F
DMTSSetIJacobian TSComputeIJacobianConstant TSRKRegisterAll
DMTSSetIJacobianSerialize TSEvaluateStep TSRKRegisterDestroy
DMTSSetRHSFunction TSGetCFLTime TSRKRegister
DMTSSetRHSJacobian TSGetIFunction TSRosWRegisterAll
DMTSSetSolutionFunction TSGetIJacobian TSRosWRegisterDestroy
SNESTSFormFunction TSGetRHSFunction TSRosWRegister
TSAdaptRegisterAll TSGLAcceptRegister TSSetConvergedReason
TSAdaptRegister TSGLAdaptRegisterAll TSSetEquationType
TSAdaptSetCheckStage TSGLAdaptRegister TSSetOptionsPrefix
TSAdaptSetFromOptions TSGLGetAdapt TSSetUp
TSAlphaGetParams TSGLRegisterAll TSSundialsGetIterations
TSAlphaSetParams TSGLRegister TSSundialsGetPC
TSAppendOptionsPrefix TSMonitor TSSundialsSetGramSchmidtType
TSARKIMEX1BEE TSPseudoIncrementDtFromInitialDt TSSundialsSetLinearTolerance
TSARKIMEX2C TSPseudoSetMaxTimeStep TSSundialsSetMaxl
TSARKIMEX2D TSPseudoSetTimeStepIncrement TSThetaGetEndpoint
TSARKIMEX2E TSPseudoSetVerifyTimeStep TSThetaGetTheta
TSARKIMEX3 TSPseudoTimeStepDefault TSVISetVariableBounds
TSARKIMEX4 TSPseudoVerifyTimeStepDefault
TSARKIMEX5 TSPseudoVerifyTimeStep
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMCopyDMTS TSComputeForcingFunction TSPostStep
DMGetDMTS TSComputeIFunction TSPreStage
DMGetDMTSWrite TSComputeIJacobian TSPreStep
DMTSCopy TSComputeLinearStability TSPseudoComputeTimeStep
SNESTSFormJacobian TSComputeRHSFunction TSRKFinalizePackage
TSAdaptCandidateAdd TSComputeRHSJacobian TSRKInitializePackage
TSAdaptCandidatesClear TSComputeSolutionFunction TSRosWFinalizePackage
TSAdaptCandidatesGet TSErrorNormWRMS TSRosWInitializePackage
TSAdaptCheckStage TSFinalizePackage TSRosWRegisterRos4
TSAdaptChoose TSGLAdaptInitializePackage TSSetSNES
TSAdaptCreate TSGLFinalizePackage TSSSPFinalizePackage
TSAdaptInitializePackage TSGLInitializePackage TSSSPInitializePackage
TSARKIMEXFinalizePackage TSInitializePackage
TSARKIMEXInitializePackage TSPostStage
No deprecated routines

Table of Contents