petsc-3.4.5 2014-06-29

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

Table of Contents