# TSBASICSYMPLECTIC#

ODE solver using basic symplectic integration schemes https://en.wikipedia.org/wiki/Symplectic_integrator These methods are intended for separable Hamiltonian systems

where the Hamiltonian can be split into the sum of kinetic energy and potential energy

As a result, the system can be generally represented by

and solved iteratively with

The solution vector should contain both q and p, which correspond to (generalized) position and momentum respectively. Note that the momentum component
could simply be velocity in some representations. The symplectic solver always expects a two-way splitting with the split names being “position” and “momentum”.
Each split is associated with an `IS`

object and a sub-`TS`

that is intended to store the user-provided RHS function.

## See Also#

TS: Scalable ODE and DAE Solvers, `TSCreate()`

, `TSSetType()`

, `TSRHSSplitSetIS()`

, `TSRHSSplitSetRHSFunction()`

, `TSType`

## Level#

beginner

## Location#

src/ts/impls/symplectic/basicsymplectic/basicsymplectic.c

Index of all TS routines

Table of Contents for all manual pages

Index of all manual pages