Expand description
Symplectic Euler methods
This module provides first-order symplectic integrators known as Symplectic Euler methods. These are the simplest symplectic integrators and come in two variants:
- Symplectic Euler A (position first): Updates position first, then momentum
- Symplectic Euler B (momentum first): Updates momentum first, then position
While first-order, these methods exactly conserve the symplectic structure and provide bounded energy error over long integration times.
Structs§
- Symplectic
EulerA - Symplectic Euler Method A - updates position first, then momentum
- Symplectic
EulerB - Symplectic Euler Method B - updates momentum first, then position
Functions§
- symplectic_
euler - Convenience function for the default Symplectic Euler method (variant A)
- symplectic_
euler_ a - Convenience function for the Symplectic Euler A method (position first)
- symplectic_
euler_ b - Convenience function for the Symplectic Euler B method (momentum first)