petsc-3.3-p7 2013-05-11

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

Table of Contents