petsc-3.3-p6 2013-02-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
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 TSGetStepRejections TSROSWSANDU3
TSADAPTCFL TSGetTimeStep TSROSWTHETA1
TSADAPTNONE TSGetTimeStepNumber TSROSWTHETA2
TSARKIMEXGetType TSGetType TSRosWGetType
TSARKIMEXSetFullyImplicit TSInterpolate TSRosWSetRecomputeJacobian
TSARKIMEXSetType TSMonitorCancel TSSetApplicationContext
TSAdaptSetMonitor TSMonitorDefault TSSetCFLTimeLocal
TSAdaptSetStepLimits TSMonitorLGCreate TSSetDM
TSAlphaSetAdapt TSMonitorLGDestroy TSSetDuration
TSAlphaSetRadius TSMonitorSet TSSetErrorIfStepFails
TSComputeIFunctionLinear TSMonitorSolution TSSetInitialTimeStep
TSComputeIJacobianConstant TSMonitorSolutionBinary TSSetMaxSNESFailures
TSComputeRHSFunctionLinear TSMonitorSolutionCreate TSSetMaxStepRejections
TSComputeRHSJacobianConstant TSMonitorSolutionDestroy TSSetPostStep
TSGLSetAcceptType TSMonitorSolutionVTK TSSetPreStage
TSGLSetType TSMonitorSolutionVTKDestroy TSSetPreStep
TSGetAdapt TSPseudoSetTimeStep TSSetRetainStages
TSGetApplicationContext TSPythonSetType TSSetTime
TSGetConvergedReason TSRKSetTolerance TSSetTimeStep
TSGetDM TSROSW2M TSSetType
TSGetDuration TSROSW2P TSStep
TSGetKSPIterations TSROSWASSP3P3S1C TSSundialsSetTolerance
TSGetOptionsPrefix TSROSWLASSP3P4S2C TSSundialsSetType
TSGetRHSJacobian TSROSWLLSSP3P4S2C TSThetaSetEndpoint
TSGetSNESFailures TSROSWRA34PW2 TSThetaSetTheta
TSGetSNESIterations TSROSWRA3PW
TSGetSolution TSROSWRODAS3
Advanced - Setting more advanced options and customization
SNESTSFormFunction TSAlphaSetParams TSPseudoSetMaxTimeStep
TSARKIMEX2C TSAppendOptionsPrefix TSPseudoSetTimeStepIncrement
TSARKIMEX2D TSEvaluateStep TSPseudoSetVerifyTimeStep
TSARKIMEX2E TSGLAcceptRegister TSPseudoVerifyTimeStep
TSARKIMEX3 TSGLAcceptRegisterDynamic TSRegister
TSARKIMEX4 TSGLAdaptRegister TSRegisterAll
TSARKIMEX5 TSGLAdaptRegisterAll TSRegisterDestroy
TSARKIMEXA2 TSGLAdaptRegisterDestroy TSRegisterDynamic
TSARKIMEXARS122 TSGLAdaptRegisterDynamic TSRosWRegister
TSARKIMEXARS443 TSGLGetAdapt TSRosWRegisterAll
TSARKIMEXBPR3 TSGLRegister TSRosWRegisterDestroy
TSARKIMEXL2 TSGLRegisterAll TSSetOptionsPrefix
TSARKIMEXPRSSP2 TSGLRegisterDestroy TSSetUp
TSARKIMEXRegister TSGLRegisterDynamic TSSundialsGetIterations
TSARKIMEXRegisterAll TSGetCFLTime TSSundialsGetPC
TSARKIMEXRegisterDestroy TSGetIFunction TSSundialsSetGramSchmidtType
TSAdaptRegister TSGetIJacobian TSSundialsSetLinearTolerance
TSAdaptRegisterAll TSGetRHSFunction TSSundialsSetMaxl
TSAdaptRegisterDestroy TSMonitor TSThetaGetEndpoint
TSAdaptRegisterDynamic TSPseudoComputeTimeStep TSThetaGetTheta
TSAdaptSetCheckStage TSPseudoDefaultTimeStep TSVISetVariableBounds
TSAdaptSetFromOptions TSPseudoDefaultVerifyTimeStep
TSAlphaGetParams TSPseudoIncrementDtFromInitialDt
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
SNESTSFormJacobian TSAdaptInitializePackage TSGLInitializePackage
TSARKIMEXFinalizePackage TSComputeIFunction TSInitializePackage
TSARKIMEXInitializePackage TSComputeIJacobian TSPostStep
TSAdaptCandidateAdd TSComputeRHSFunction TSPreStage
TSAdaptCandidatesClear TSComputeRHSJacobian TSPreStep
TSAdaptCandidatesGet TSErrorNormWRMS TSRosWFinalizePackage
TSAdaptCheckStage TSFinalizePackage TSRosWInitializePackage
TSAdaptChoose TSGLAdaptInitializePackage
TSAdaptCreate TSGLFinalizePackage
No deprecated routines

Table of Contents