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

Table of Contents