petsc-3.3-p0 2012-06-05

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