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) \nabla F(u)\) where \(S(u)\) is a linear operator, and \(F\) is a functional of \(u\).

For Hamiltonian systems designed to conserve the first integral (energy), but also has the property for some systems of monotonicity in a functional.

See Also#

TS: Scalable ODE and DAE Solvers, TSCreate(), TSSetType(), TS, TSType, TSDiscGradSetFormulation(), TSDiscGradGetFormulation(), TSDiscGradSetType(), TSDiscGradGetType(), TSDGType

Level#

intermediate

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