petsc-3.14.6 2021-03-30
Report Typos and Errors

TSDISCGRAD

ODE solver using the discrete gradients version of the implicit midpoint method

Notes: This is the implicit midpoint rule, with an optional term that guarantees the discrete gradient property. This timestepper applies to systems of the form

u_t = S(u) grad F(u)
where S(u) is a linear operator, and F is a functional of u.

See Also

TSCreate(), TSSetType(), TS, TSTHETA, TSDiscGradSetFormulation()

Level

beginner

Location

src/ts/impls/implicit/discgrad/tsdiscgrad.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages